Make coinflip 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 20:50:37 +01:00
parent ff80e754ff
commit 4015aecc99
5 changed files with 120 additions and 62 deletions

View File

@@ -116,6 +116,7 @@ public class HidekoBot
MessageCommandListener messageCommandListener = new MessageCommandListener();
messageCommandListener.registerCommand(new HelloCommand());
messageCommandListener.registerCommand(new CommandsCommand());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.CoinFlipCommand());
messageCommandListener.registerCommand(new wtf.beatrice.hidekobot.commands.message.ClearCommand());
Cache.setMessageCommandListener(messageCommandListener);