fix gamertag link
This commit is contained in:
1 file changed
+1
-1
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user