fix/bounty pay user search

This commit is contained in:
SowinskiBraeden committed 2023-11-08 13:50:26 -08:00
1 parent ee0ae4cdbf
commit eb7f454cbb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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) {
+1 -1
View File
@@ -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": {