Make invite support both slash and message commands
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2022-11-22 21:42:35 +01:00
parent c186c9c576
commit b2a62d754e
4 changed files with 108 additions and 22 deletions

View File

@@ -114,6 +114,7 @@ public class HidekoBot
// register message commands
MessageCommandListener messageCommandListener = new MessageCommandListener();
messageCommandListener.registerCommand(new HelloCommand());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.InviteCommand());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.BotInfoCommand());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.CoinFlipCommand());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.ClearCommand());