diff --git a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RoleCommand.java b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RoleCommand.java index 9a7ec80a..0f33a8c3 100644 --- a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RoleCommand.java +++ b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RoleCommand.java @@ -22,7 +22,7 @@ public class RoleCommand extends CommandModule { private final DefinedQuery STAFF_ROLES = new DefinedQuery() { @Override protected Query newQuery() { - return bot.getRoles("Senior Supporter", "Assistant", "Developer", "\uD83D\uDCBB Coding Wizard"); + return bot.getRoles("Senior Supporter"); } }; @@ -44,56 +44,6 @@ protected Query newQuery() { add("Review Squad"); }}; - private final ArrayList ASSISTANT_ROLES = new ArrayList() {{ - add("Ultra Permissions"); - add("Ultra Customizer"); - add("Ultra Punishments"); - add("Ultra Regions"); - add("Insane Shops"); - add("Ultra Economy"); - add("Ultra Scoreboards"); - add("Keep Roles"); - add("SpigotMC"); - add("MC-Market"); - add("Songoda"); - add("Polymart"); - add("Verified"); - add("Songoda Verified"); - add("Review Squad"); - add("Junior Supporter"); - add("Supporter"); - add("Senior Supporter"); - add("Retired"); - add("Wiki Editor"); - add("Staff"); - }}; - - private final ArrayList DEVELOPER_ROLES = new ArrayList() {{ - add("Ultra Permissions"); - add("Ultra Customizer"); - add("Ultra Punishments"); - add("Ultra Regions"); - add("Insane Shops"); - add("Ultra Economy"); - add("Ultra Scoreboards"); - add("Keep Roles"); - add("SpigotMC"); - add("MC-Market"); - add("Songoda"); - add("Polymart"); - add("Verified"); - add("Songoda Verified"); - add("Review Squad"); - add("Junior Supporter"); - add("Supporter"); - add("Senior Supporter"); - add("Retired"); - add("Wiki Editor"); - add("Staff"); - add("Assistant"); - add("Team Manager"); - }}; - public RoleCommand(TechDiscordBot bot) { super(bot); } @@ -141,11 +91,11 @@ public void onCommand(TextChannel channel, Member m, SlashCommandEvent e) { return; } - if((m.getRoles().contains(TechDiscordBot.getGuild().getRoleById(854044253885956136L)) && !m.getRoles().contains(TechDiscordBot.getGuild().getRoleById(608113993038561325L)) && !SENIOR_SUPPORTER_ROLES.contains(role.getName())) || m.getRoles().contains(TechDiscordBot.getGuild().getRoleById(608113993038561325L)) && !ASSISTANT_ROLES.contains(role.getName())) { + if((m.getRoles().contains(TechDiscordBot.getGuild().getRoleById(854044253885956136L)) && !m.getRoles().contains(TechDiscordBot.getGuild().getRoleById(608113993038561325L)) && !SENIOR_SUPPORTER_ROLES.contains(role.getName()))) { e.replyEmbeds( new TechEmbedBuilder("Role Management") .color(Color.orange) - .text("**Senior Supporter**: Verified, Plugins, Marketplaces, Review Squad & Keep Roles\n**Assistant**: Staff, Supporter Roles, Retired, Wiki Editor & Plugin Lab\n**Developer**: Assistant & Team Manager") + .text("**Senior Supporter**: Verified, Plugins, Marketplaces, Review Squad & Keep Roles") .build() ).queue(); return; diff --git a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RulesCommand.java b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RulesCommand.java index 4f3953f3..ca2512ae 100644 --- a/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RulesCommand.java +++ b/src/main/java/me/TechsCode/TechDiscordBot/module/cmds/RulesCommand.java @@ -166,14 +166,14 @@ public String getDescription() { public enum Role { - CODING_WIZARD("Coding Wizard", "311178859171282944", "It was Tech & now it's MATRIX!, The former head of the operations."), + CODING_WIZARD("Coding Wizard", "311178859171282944", "It was Tech & now it's MATRIX! The former head of the operations."), ASSISTANT("Assistant", "608113993038561325", "This is the Developers Assistant! If the Developers are not online, he is in charge. Occasionally also helps with coding."), STAFF("Staff", "608114002387533844", "They are here to help! Don't argue with Staff. If you think there is an issue, please contact <@&608113993038561325> or <@&311178859171282944>."), PATREON("Patreon", "795101981051977788", "These are our incredible Patreon supporters who getting rewarded by us for their monthly support with various rewards, additions and exclusive stuff."), DONATOR("Donator", "311179148691505152", "These are amazing people who have donated to Tech!"), VERIFIED_CREATOR("Knows how to Code", "435183665719541761", "A role given to people who have well known coding projects."), - NITRO_BOOSTERS("Nitro Booster", "585559418008109075", "These people get are also **AMAZING** who are helping us to unlock great features for our Discord!"), - REVIEW_SQUAD("Review Squad", "457934035549683713", "These people are the **AMAZING** people in the community who have review all of their plugin's owned by Tech."), + NITRO_BOOSTERS("Nitro Booster", "585559418008109075", "These are **AMAZING** people who are helping us to unlock great features for our Discord!"), + REVIEW_SQUAD("Review Squad", "457934035549683713", "These are the **AMAZING** people in the community who have review all of their plugin's owned by Tech."), VERIFIED("Verified", "416174015141642240", "This role is given to members who have successfully verified that they've purchased *as least* one of Tech's resources."); private final String name;