Make urban command support slash too

This commit is contained in:
2022-12-20 02:17:27 +01:00
parent 60ee5f2ae2
commit b4c80fe56a
6 changed files with 464 additions and 256 deletions

View File

@@ -124,6 +124,7 @@ public class HidekoBot
slashCommandListener.registerCommand(new MagicBallCommand());
slashCommandListener.registerCommand(new PingCommand());
slashCommandListener.registerCommand(new SayCommand());
slashCommandListener.registerCommand(new UrbanDictionaryCommand());
Cache.setSlashCommandListener(slashCommandListener);
Cache.setSlashCommandCompletionListener(slashCommandCompletionListener);