Small adjusmetn
This commit is contained in:
@@ -36,6 +36,13 @@ module.exports = {
|
||||
const minotar = "https://minotar.net/helm/";
|
||||
const embedColor = Number(color.replace("#", "0x"));
|
||||
|
||||
const verifyData = await verify.findOne({ userID: user.id })
|
||||
|
||||
if (verifyData) {
|
||||
interaction.editReply('You are already verified.')
|
||||
return
|
||||
}
|
||||
|
||||
if (!ign) {
|
||||
interaction.editReply('Please provide a player\'s IGN.')
|
||||
return
|
||||
@@ -71,13 +78,6 @@ module.exports = {
|
||||
return
|
||||
}
|
||||
|
||||
const verifyData = await verify.findOne({ userID: user.id })
|
||||
|
||||
if (verifyData) {
|
||||
interaction.editReply('You are already verified.')
|
||||
return
|
||||
}
|
||||
|
||||
if (guildRank === "Guild Master" && guildCheck.data.id === hypixelGuildID) {
|
||||
await user.roles.remove(gm && manager && moderator && beast && member && trialmember && guildRole && guildStaff)
|
||||
await user.roles.add(gm);
|
||||
|
||||
Reference in New Issue
Block a user