mark registerSlashCommand deprecated
This commit is contained in:
parent
58a6320fc0
commit
2ed1e3780b
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue