Add Kumbucha and clean up imports
This commit is contained in:
parent
9e0d68172e
commit
276d128754
@ -3,15 +3,10 @@ package tech.nevets.constelliabot.commands;
|
|||||||
import net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent;
|
import net.dv8tion.jda.api.events.message.guild.GuildMessageReceivedEvent;
|
||||||
import tech.nevets.constelliabot.Bot;
|
import tech.nevets.constelliabot.Bot;
|
||||||
import tech.nevets.constelliabot.commands.debug.PingCmd;
|
import tech.nevets.constelliabot.commands.debug.PingCmd;
|
||||||
import tech.nevets.constelliabot.commands.games.CoinFlipCmd;
|
import tech.nevets.constelliabot.commands.games.*;
|
||||||
import tech.nevets.constelliabot.commands.games.DadJokeCmd;
|
|
||||||
import tech.nevets.constelliabot.commands.games.DiceCmd;
|
|
||||||
import tech.nevets.constelliabot.commands.info.HelpCmd;
|
import tech.nevets.constelliabot.commands.info.HelpCmd;
|
||||||
import tech.nevets.constelliabot.commands.music.JoinCmd;
|
import tech.nevets.constelliabot.commands.music.JoinCmd;
|
||||||
import tech.nevets.constelliabot.commands.pictures.CatCmd;
|
import tech.nevets.constelliabot.commands.pictures.*;
|
||||||
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.strings.*;
|
import tech.nevets.constelliabot.commands.strings.*;
|
||||||
|
|
||||||
import javax.annotation.Nullable;
|
import javax.annotation.Nullable;
|
||||||
|
@ -11,8 +11,17 @@ public class BlueSpruceCmd implements ICommand {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void handle(CommandContext ctx) {
|
public void handle(CommandContext ctx) {
|
||||||
ctx.getChannel().sendTyping().queue();
|
Random r = new Random();
|
||||||
ctx.getChannel().sendMessage("Praise be it thy Spruce").queue();
|
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
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user