fix gamertag link

This commit is contained in:
SowinskiBraeden committed 2023-03-28 20:03:37 -07:00
1 parent 757dc4ca33
commit c2e2eb5913
1 file changed
+1 -1
+1 -1
View File
@@ -38,7 +38,7 @@ module.exports = {
}); });
} }
let playerStat = GuildDB.playerstats.find(stat => stat.player == args[0].value[0] ); let playerStat = GuildDB.playerstats.find(stat => stat.player == args[0].value );
if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription('**Not Found** This player cannot be found, the gamertag may be incorrect or this player has not logged onto the server before for at least ` 5 minutes `.')] }); if (playerStat == undefined) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription('**Not Found** This player cannot be found, the gamertag may be incorrect or this player has not logged onto the server before for at least ` 5 minutes `.')] });
playerStat.discordID = interaction.member.user.id; playerStat.discordID = interaction.member.user.id;