8.2.8 debug explosive death not appearing in killfeed

This commit is contained in:
SowinskiBraeden committed 2023-07-21 11:38:43 -07:00
1 parent 14c3c7b99f
commit e80b055451
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "8.2.7", "version": "8.2.8",
"description": "A General Purpose Discord Bot for DayZ Servers.", "description": "A General Purpose Discord Bot for DayZ Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {
+1 -1
View File
@@ -132,7 +132,7 @@ class DayzArmbands extends Client {
let lines = []; let lines = [];
for await (const line of rl) { lines.push(line); } for await (const line of rl) { lines.push(line); }
let logIndex = lines.indexOf(history.lastLog) == -1 ? 0 : lines.indexOf(history.lastLog); let logIndex = lines.indexOf(history.lastLog);
let guild = await this.GetGuild(guildId); let guild = await this.GetGuild(guildId);
if (!this.exists(guild.playerstats)) guild.playerstats = []; if (!this.exists(guild.playerstats)) guild.playerstats = [];
+1 -1
View File
@@ -54,7 +54,7 @@ module.exports = {
let newDt = await client.getDateEST(info.time); let newDt = await client.getDateEST(info.time);
let unixTime = Math.floor(newDt.getTime()/1000); let unixTime = Math.floor(newDt.getTime()/1000);
if (!killedBy == 4) { if (killedBy == 4) {
const killEvent = new EmbedBuilder() const killEvent = new EmbedBuilder()
.setColor(client.config.Colors.Default) .setColor(client.config.Colors.Default)
.setDescription(`**Death Event** - <t:${unixTime}>\n**${info.victim}** killed by a **${info.causeOfDeath}.**`); .setDescription(`**Death Event** - <t:${unixTime}>\n**${info.victim}** killed by a **${info.causeOfDeath}.**`);