@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user