update/show coord in combat log warning

This commit is contained in:
SowinskiBraeden committed 2023-09-07 07:23:16 -07:00
1 parent f7e94e1547
commit 0322a81450
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "dayzr-bot",
"version": "9.8.5",
"version": "9.9.0",
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
"main": "index.js",
"nodemonConfig": {
+1 -1
View File
@@ -47,7 +47,7 @@ module.exports = {
let combatLog = new EmbedBuilder()
.setColor(client.config.Colors.Red)
.setDescription(`**NOTICE:**\n**${data.player}** has combat logged at <t:${unixTime}> when fighting **${data.lastHitBy}**`);
.setDescription(`**NOTICE:**\n**${data.player}** has combat logged at <t:${unixTime}> when fighting **${data.lastHitBy}\nLocation [${pos[0]}, ${pos[1]}](https://www.izurvive.com/chernarusplussatmap/#location=${pos[0]};${pos[1]})**`);
if (client.exists(guild.adminRole)) channel.send({ content: `<@&${guild.adminRole}>` });
+1
View File
@@ -89,6 +89,7 @@ module.exports = {
DetectCombatLog(client, guildId, {
time: info.time,
player: info.player,
pos: plaerStat.pos,
lastDamageDate: playerStat.lastDamageDate,
lastHitBy: playerStat.lastHitBy,
lastDeathDate: playerStat.lastDeathDate,