Removing legacy code
This commit is contained in:
@@ -96,27 +96,6 @@ module.exports = {
|
|||||||
var guildID = guildCheck.data.guild._id
|
var guildID = guildCheck.data.guild._id
|
||||||
}
|
}
|
||||||
|
|
||||||
/* if (guildID !== hypixelGuildID) {
|
|
||||||
await user.roles.add(defaultMember, "Verification");
|
|
||||||
|
|
||||||
await interaction.editReply({
|
|
||||||
embeds: [
|
|
||||||
{
|
|
||||||
title: interaction.guild.name,
|
|
||||||
description: "<a:check_a:1087808632172847134> You have successfully verified `" + username + "` with the account `" + hypixelCheck.data.username + "`.",
|
|
||||||
color: embedColor,
|
|
||||||
thumbnail: {
|
|
||||||
url: head
|
|
||||||
},
|
|
||||||
footer: {
|
|
||||||
icon_url: interaction.guild.iconURL(),
|
|
||||||
text: interaction.guild.name + " | Developed by Taken#0002"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
|
||||||
});
|
|
||||||
return;
|
|
||||||
} */
|
|
||||||
if (guildID === hypixelGuildID) {
|
if (guildID === hypixelGuildID) {
|
||||||
const GuildMembers = guildCheck.data.guild.members
|
const GuildMembers = guildCheck.data.guild.members
|
||||||
const guildRank = GuildMembers.find((member) => member.uuid === stats.data.player.uuid).rank;
|
const guildRank = GuildMembers.find((member) => member.uuid === stats.data.player.uuid).rank;
|
||||||
|
|||||||
Reference in New Issue
Block a user