Add Kumbucha and clean up imports

This commit is contained in:
Steven Tracey 2021-10-03 23:26:22 -04:00
parent 9e0d68172e
commit 276d128754
2 changed files with 13 additions and 9 deletions

View File

@ -3,15 +3,10 @@ package tech.nevets.constelliabot.commands;
import net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent;
import tech.nevets.constelliabot.Bot;
import tech.nevets.constelliabot.commands.debug.PingCmd;
import tech.nevets.constelliabot.commands.games.CoinFlipCmd;
import tech.nevets.constelliabot.commands.games.DadJokeCmd;
import tech.nevets.constelliabot.commands.games.DiceCmd;
import tech.nevets.constelliabot.commands.games.*;
import tech.nevets.constelliabot.commands.info.HelpCmd;
import tech.nevets.constelliabot.commands.music.JoinCmd;
import tech.nevets.constelliabot.commands.pictures.CatCmd;
import tech.nevets.constelliabot.commands.pictures.DogCmd;
import tech.nevets.constelliabot.commands.pictures.FoxCmd;
import tech.nevets.constelliabot.commands.pictures.PandaCmd;
import tech.nevets.constelliabot.commands.pictures.*;
import tech.nevets.constelliabot.commands.strings.*;
import javax.annotation.Nullable;

View File

@ -11,8 +11,17 @@ public class BlueSpruceCmd implements ICommand {
@Override
public void handle(CommandContext ctx) {
Random r = new Random();
int max = 2;
int i = r.nextInt(max);
if (i == 0) {
ctx.getChannel().sendTyping().queue();
ctx.getChannel().sendMessage("Praise be it thy Spruce").queue();
} else {
ctx.getChannel().sendTyping().queue();
ctx.getChannel().sendMessage("*sends another picture of a new Kumbucha brand that nobody has ever heard of before*").queue();
}
}
@Override