fix/weapon-stats embed description
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -98,7 +98,7 @@ module.exports = {
|
|||||||
const weapon = interaction.values[0];
|
const weapon = interaction.values[0];
|
||||||
const playerID = interaction.customId.split('-')[1];
|
const playerID = interaction.customId.split('-')[1];
|
||||||
let player = await client.dbo.collection("players").findOne({"playerID": playerID});
|
let player = await client.dbo.collection("players").findOne({"playerID": playerID});
|
||||||
const tag = player.discordID != "" ? `<@${player.discordID}>'s` : `**${player.gamertag}'s**>`;
|
const tag = player.discordID != "" ? `<@${player.discordID}>'s` : `**${player.gamertag}'s**`;
|
||||||
|
|
||||||
if (!client.exists(player.shotsLanded)) player = insertPVPstats(player);
|
if (!client.exists(player.shotsLanded)) player = insertPVPstats(player);
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "dayzr-bot",
|
"name": "dayzr-bot",
|
||||||
"version": "12.1.9",
|
"version": "12.1.10",
|
||||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"nodemonConfig": {
|
"nodemonConfig": {
|
||||||
|
|||||||
Reference in new issue
Block a user