debug alarms

This commit is contained in:
SowinskiBraeden committed 2023-04-04 15:24:41 -07:00
1 parent 3c7fccc87d
commit e081055a33
3 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -211,9 +211,9 @@ module.exports = {
for (let i = 0; i < GuildDB.alarms.length; i++) { for (let i = 0; i < GuildDB.alarms.length; i++) {
alarms.addOptions({ alarms.addOptions({
label: GuildDB.alarm[i].name, label: GuildDB.alarms[i].name,
description: `Delete this Alarm`, description: `Delete this Alarm`,
value: GuildDB.alarm[i].name value: GuildDB.alarms[i].name
}); });
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayz-armbands", "name": "dayz-armbands",
"version": "6.3.0", "version": "6.3.1",
"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
@@ -133,7 +133,7 @@ class DayzArmbands extends Client {
let s = guild.playerstats; let s = guild.playerstats;
for (let i = logIndex + 1; i < lines.length; i++) { for (let i = logIndex + 1; i < lines.length; i++) {
let c = s.find(p => p.connected); let c = s.find(p => p.connected == true);
for (let j = 0; j < c.length; j++) { for (let j = 0; j < c.length; j++) {
let inLog = false; let inLog = false;
let connected = true; let connected = true;