diff --git a/src/main/java/com/github/nilstrieb/commands/info/ToukaCommand.java b/src/main/java/com/github/nilstrieb/commands/info/ToukaCommand.java deleted file mode 100644 index c6a599e..0000000 --- a/src/main/java/com/github/nilstrieb/commands/info/ToukaCommand.java +++ /dev/null @@ -1,32 +0,0 @@ -package com.github.nilstrieb.commands.info; - -import com.github.nilstrieb.cofig.Config; -import com.github.nilstrieb.core.command.Command; -import net.dv8tion.jda.api.EmbedBuilder; -import net.dv8tion.jda.api.entities.User; - - -public class ToukaCommand extends Command { - - private static final String TOUKA_INVITE = - "(https://discord.com/oauth2/authorize?client_id=783720725848129566&permissions=8192&scope=bot)"; - - public ToukaCommand() { - super("touka", "Get the invite link for the Touka bot"); - } - - @Override - public void called(String args) { - User yuki = event.getJDA().retrieveUserById(Config.YUKI_ID).complete(); - User touka = event.getJDA().retrieveUserById(783720725848129566L).complete(); - - EmbedBuilder builder = Config.getDefaultEmbed() - .setTitle("Invite the Touka bot") - .setFooter("The Touka bot was made by " + yuki.getAsTag(), yuki.getAvatarUrl()) - .setThumbnail(touka.getAvatarUrl()) - .addField("Invite link", "[Invite]" + TOUKA_INVITE, false); - reply(builder.build()); - - - } -} diff --git a/src/main/java/com/github/nilstrieb/core/Main.java b/src/main/java/com/github/nilstrieb/core/Main.java index cbb9416..c7d3505 100644 --- a/src/main/java/com/github/nilstrieb/core/Main.java +++ b/src/main/java/com/github/nilstrieb/core/Main.java @@ -6,7 +6,6 @@ import com.github.nilstrieb.commands.fun.trivia.TriviaCommand; import com.github.nilstrieb.commands.info.EvalCommand; import com.github.nilstrieb.commands.info.HelpCommand; import com.github.nilstrieb.commands.info.InviteCommand; -import com.github.nilstrieb.commands.info.ToukaCommand; import com.github.nilstrieb.commands.util.EmoteAddCommand; import com.github.nilstrieb.core.command.CommandListener; import com.github.nilstrieb.core.reactions.ReactionEventListener; @@ -83,7 +82,6 @@ public class Main { private static void setupCommands() { new HelpCommand(); new EvalCommand(); - new ToukaCommand(); new SayCommand(); new InviteCommand(); new QuoteCommand();