fix/bounty pay user search
This commit is contained in:
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -117,7 +117,7 @@ module.exports = {
|
||||
|
||||
} else if (args[0].name == 'pay') {
|
||||
|
||||
let playerStat = await client.dbo.collection("players").findOne({"gamertag": interaction.member.user.id});
|
||||
let playerStat = await client.dbo.collection("players").findOne({"discordID": interaction.member.user.id});
|
||||
if (!client.exists(playerStat)) return interaction.send({ embeds: [new EmbedBuilder().setColor(client.config.Colors.Yellow).setDescription('**Not Found** Your user ID could not be found, contact an Admin.')] });
|
||||
|
||||
if (playerStat.bounties.length == 0) {
|
||||
|
||||
Reference in new issue
Block a user