From dff052be40c4380f71451371b6a882f4cb0711e1 Mon Sep 17 00:00:00 2001 From: Taken Date: Sun, 3 Dec 2023 19:16:46 +0100 Subject: [PATCH] Small typo Signed-off-by: Taken --- src/commands/update.js | 16 +--------------- src/commands/verify.js | 9 +-------- 2 files changed, 2 insertions(+), 23 deletions(-) diff --git a/src/commands/update.js b/src/commands/update.js index fe33e6f..119cab2 100644 --- a/src/commands/update.js +++ b/src/commands/update.js @@ -1,4 +1,4 @@ -const { SlashCommandBuilder, InteractionResponse } = require("discord.js") +const { SlashCommandBuilder } = require("discord.js") const { getGuild, getIGN, getHeadURL } = require("../utils/utils.js") const verify = require("../schemas/verifySchema.js") const { color, hypixelGuildID, devMessage } = require("../../config/options.json") @@ -62,12 +62,6 @@ module.exports = { const head = await getHeadURL(ign) if (guildID !== hypixelGuildID) { - await interaction.editReply({ - description: "You are not a member of illegitimate\n" + - "Just a moment while I update your roles...", - color: embedColor, - }) - for (let i = 0; i < removeThese.length; i++) { await roleManage.remove(removeThese[i], "Auto role removal. (Update)") } @@ -90,14 +84,6 @@ module.exports = { return } - await interaction.editReply({ - embeds: [{ - description: "You are a member of illegitimate\n" + - "Just a moment while I update your roles...", - color: embedColor, - }] - }) - if (guildID === hypixelGuildID) { const GuildMembers = guild.members diff --git a/src/commands/verify.js b/src/commands/verify.js index df7e379..b2011b5 100644 --- a/src/commands/verify.js +++ b/src/commands/verify.js @@ -127,7 +127,7 @@ module.exports = { await interaction.editReply({ embeds: [{ - description: "Checking your guild...", + description: "Fetching your guild data...", color: embedColor }] }) @@ -142,13 +142,6 @@ module.exports = { if (guildID === hypixelGuildID) { - await interaction.editReply({ - embeds: [{ - description: "You are a member of the guild `" + guild.name + "`!", - color: embedColor - }] - }) - const GuildMembers = guild.members const guildRank = GuildMembers.find((member) => member.uuid === player.uuid).rank