Remove deprecated registerCommandoCommand()
(cherry picked from commit c705127007f0e2f6c501a9ae7f84cd3e824a919d)
This commit is contained in:
parent
bf507a766c
commit
61313dce25
@ -14,15 +14,6 @@ export abstract class AbstractDialogueChatBot implements IDialogueChatBot
|
||||
)
|
||||
{}
|
||||
|
||||
/**
|
||||
* @deprecated As of v3.7.6. Use registerChatCommand.
|
||||
*/
|
||||
// TODO: v3.9.0 - Remove registerCommandoCommand method.
|
||||
public registerCommandoCommand(chatCommand: IChatCommand): void
|
||||
{
|
||||
this.registerChatCommand(chatCommand);
|
||||
}
|
||||
|
||||
public registerChatCommand(chatCommand: IChatCommand): void
|
||||
{
|
||||
if (this.chatCommands.some((cc) => cc.getCommandPrefix() === chatCommand.getCommandPrefix()))
|
||||
|
Loading…
x
Reference in New Issue
Block a user