6.11.3 debug unlink features

This commit is contained in:
SowinskiBraeden committed 2023-06-07 10:58:10 -07:00
1 parent b2957c15ce
commit 453c45e3f0
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ module.exports = {
return interaction.reply({ content: 'This interaction is not for you', flags: (1 << 6) });
if (interaction.customId.split('-')[1]=='yes') {
let playerStat = GuildDB.playerstats.find(stat => stat.gamertag == interaction.customId.split('-')[2]);
let playerStat = GuildDB.playerstats.find(stat => stat.discordID == interaction.customId.split('-')[2]);
playerStat.discordID = "";
+1 -1
View File
@@ -31,7 +31,7 @@ module.exports = {
});
}
let playerStat = GuildDB.playerstats.find(stat => stat.discordID == interaction.user.member.id);
let playerStat = GuildDB.playerstats.find(stat => stat.discordID == interaction.member.user.id);
if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription(`**No Gamertag Linked** It Appears your don't have a gamertag linked to your account.`)] });
const warnGTOverwrite = new EmbedBuilder()