Skip to content

Commit

Permalink
Removed Unused Embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
TehZombiJesus committed Jan 17, 2022
1 parent bb4b390 commit 80479db
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down Expand Up @@ -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(")") ? "" : ".")))
Expand Down

0 comments on commit 80479db

Please sign in to comment.