add bluespruce

This commit is contained in:
Steven Tracey 2021-09-29 14:59:25 -04:00 committed by GitHub
parent c42453e3f7
commit b176854689
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,33 @@
package tech.nevets.constelliabot.commands.strings;
import tech.nevets.constelliabot.Bot;
import tech.nevets.constelliabot.commands.CommandContext;
import tech.nevets.constelliabot.commands.ICommand;
import java.util.List;
import java.util.Random;
public class BlueSpruceCmd implements ICommand {
@Override
public void handle(CommandContext ctx) {
ctx.getChannel().sendTyping().queue();
ctx.getChannel().sendMessage("Praise be it thy Spruce").queue();
}
@Override
public String getName() {
return "bluespruce";
}
@Override
public String getHelp() {
return "Sends a good morning message\n" +
"Usage: `" + Bot.prefix + "bluespruce`";
}
@Override
public List<String> getAliases() {
return List.of("spruce", "blue");
}
}