Make command category not null
All checks were successful
continuous-integration/drone/push Build is passing

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

View File

@@ -5,6 +5,7 @@ import net.dv8tion.jda.api.entities.Mentions;
import net.dv8tion.jda.api.entities.MessageEmbed;
import net.dv8tion.jda.api.entities.User;
import net.dv8tion.jda.api.events.message.MessageReceivedEvent;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import wtf.beatrice.hidekobot.Cache;
import wtf.beatrice.hidekobot.HidekoBot;
@@ -35,6 +36,7 @@ public class AvatarCommand implements MessageCommand
return false;
}
@NotNull
@Override
public CommandCategory getCategory() {
return CommandCategory.TOOLS;