Make command category not null

This commit is contained in:
2022-12-20 17:18:24 +01:00
parent b20fb73371
commit e2c84f62c3
15 changed files with 28 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import org.apache.commons.text.WordUtils;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import wtf.beatrice.hidekobot.Cache;
import wtf.beatrice.hidekobot.commands.base.Say;
@@ -33,6 +34,7 @@ public class HelpCommand implements MessageCommand
return false;
}
@NotNull
@Override
public CommandCategory getCategory() {
return CommandCategory.TOOLS;