Make say support both slash and message commands

This commit is contained in:
2022-12-19 00:05:13 +01:00
parent 81e621ec1a
commit 1410e4e8af
4 changed files with 65 additions and 1 deletions

View File

@@ -133,6 +133,7 @@ public class HidekoBot
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());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.SayCommand());
Cache.setMessageCommandListener(messageCommandListener);
// register listeners