From 80479db36d90a079920a8881fd282aaadfd009ff Mon Sep 17 00:00:00 2001 From: TehZombiJesus <81379135+TehZombiJesus@users.noreply.github.com> Date: Mon, 17 Jan 2022 07:26:30 -0500 Subject: [PATCH] Removed Unused Embeds --- .../module/cmds/OverviewCommand.java | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/OverviewCommand.java b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/OverviewCommand.java index 96220ebf..73aa8f39 100644 --- a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/OverviewCommand.java +++ b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/OverviewCommand.java @@ -76,20 +76,11 @@ public void onCommand(TextChannel channel, Member m, SlashCommandEvent e) { public void showAll() { showInfo(); showFeedback(); - //showRules(); showPlugins(); - //showVerify(); showPatreon(); showInvite(); } - public void showVerify() { - new TechEmbedBuilder("Verify Yourself") - .text("Due to the recent bot attack, you're now required to verify yourself, to do so, all you have to do is react to the message below!") - .thumbnail("https://www.groovypost.com/wp-content/uploads/2016/11/500px-Icon_robot.svg_.png") - .queue(OVERVIEW_CHANNEL.query().first(), msg -> msg.addReaction(bot.getEmotes("TechSupport").first()).complete()); - } - // @SubscribeEvent // public void onReactAdd(GuildMessageReactionAddEvent e) { // if(e.getChannel() != OVERVIEW_CHANNEL.query().first() || e.getUser().isBot()) @@ -125,13 +116,6 @@ public void showInvite() { .queue(OVERVIEW_CHANNEL.query().first()); } - public void showRules() { - new TechEmbedBuilder("Rules") - .text("Just use common sense. Also, do not mention people for absolutely no reason.\n\nIf a staff member gives you a warning, kick, or ban, do not argue about it, and simply don't do the thing you were warned about again! Staff decide what they think is right or wrong.\n\n**The staff's decisions are final.**") - .thumbnail("https://static.thenounproject.com/png/358077-200.png") - .queue(OVERVIEW_CHANNEL.query().first()); - } - public void showPlugins() { Arrays.stream(Plugin.values()).forEach(plugin -> new TechEmbedBuilder(plugin.getRoleName()) .text((plugin.getDescription().replace(" (", ". (") + (plugin.getDescription().endsWith(".") || plugin.getDescription().endsWith(")") ? "" : ".")))