diff --git a/commands/compare-rating.js b/commands/compare-rating.js index 94e95ff..75847b4 100644 --- a/commands/compare-rating.js +++ b/commands/compare-rating.js @@ -63,6 +63,8 @@ module.exports = { if (!client.exists(self.highestCombatRating) || self.highestCombatRating < selfDataMax) self.highestCombatRating = selfDataMax; if (!client.exists(comp.highestCombatRating) || comp.highestCombatRating < compDataMax) comp.highestCombatRating = compDataMax; + let tag = comp.discordID != "" ? `<@${comp.discordID}>` : comp.gamertag; + let statsEmbed = new EmbedBuilder() .setColor(client.config.Colors.Default) .setDescription(`<@${interaction.member.user.id}> vs ${tag} Combat Rating`) diff --git a/package.json b/package.json index 4e10668..edac371 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.4.2", + "version": "12.4.3", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": {