mark registerSlashCommand deprecated

This commit is contained in:
LenAnderson 2024-04-28 16:04:42 -04:00
parent 58a6320fc0
commit 2ed1e3780b
1 changed files with 3 additions and 0 deletions

View File

@ -65,6 +65,9 @@ export {
};
export const parser = new SlashCommandParser();
/**
* @deprecated Use SlashCommandParser.addCommandObject() instead
*/
const registerSlashCommand = parser.addCommand.bind(parser);
const getSlashCommandsHelp = parser.getHelpString.bind(parser);