diff --git a/commands/bounty.js b/commands/bounty.js index 0f9af49..6988cfe 100644 --- a/commands/bounty.js +++ b/commands/bounty.js @@ -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) { diff --git a/package.json b/package.json index 39cc236..b6f87aa 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.3.11", + "version": "12.3.12", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {