Add help command and command categories

This commit is contained in:
2022-12-20 17:05:59 +01:00
parent f9fe12a248
commit 480b8b5eda
16 changed files with 333 additions and 147 deletions

View File

@@ -9,6 +9,7 @@ import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import wtf.beatrice.hidekobot.commands.base.UrbanDictionary;
import wtf.beatrice.hidekobot.objects.commands.CommandCategory;
import wtf.beatrice.hidekobot.objects.commands.MessageCommand;
import java.io.IOException;
@@ -34,7 +35,10 @@ public class UrbanDictionaryCommand implements MessageCommand
return false;
}
@Override
public CommandCategory getCategory() {
return CommandCategory.FUN;
}
@Override