diff --git a/src/main/java/tech/nevets/constelliabot/commands/CommandManager.java b/src/main/java/tech/nevets/constelliabot/commands/CommandManager.java index 2a7565f..a81b714 100644 --- a/src/main/java/tech/nevets/constelliabot/commands/CommandManager.java +++ b/src/main/java/tech/nevets/constelliabot/commands/CommandManager.java @@ -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; diff --git a/src/main/java/tech/nevets/constelliabot/commands/strings/BlueSpruceCmd.java b/src/main/java/tech/nevets/constelliabot/commands/strings/BlueSpruceCmd.java index 2a5f0aa..5d730ff 100644 --- a/src/main/java/tech/nevets/constelliabot/commands/strings/BlueSpruceCmd.java +++ b/src/main/java/tech/nevets/constelliabot/commands/strings/BlueSpruceCmd.java @@ -11,8 +11,17 @@ public class BlueSpruceCmd implements ICommand { @Override public void handle(CommandContext ctx) { - ctx.getChannel().sendTyping().queue(); - ctx.getChannel().sendMessage("Praise be it thy Spruce").queue(); + 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