From 0823f7bf7c5f5f0b74b9c281079c0ad8f94798b2 Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Thu, 11 Jan 2024 12:10:44 -0800 Subject: [PATCH] fix/alarmpingqueue handler type / thanks Perrelos --- package.json | 2 +- src/DayzRBot.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b0e14d0..87ae547 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dayzr-bot", - "version": "12.5.6", + "version": "12.5.7", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "main": "index.js", "nodemonConfig": { diff --git a/src/DayzRBot.js b/src/DayzRBot.js index a7020c9..d7250d7 100644 --- a/src/DayzRBot.js +++ b/src/DayzRBot.js @@ -184,7 +184,7 @@ class DayzRBot extends Client { // Handle alarm pings const maxEmbed = 10; - for (const [channel_id, data] of Object.entrries(this.alarmPingQueue)) { + for (const [channel_id, data] of Object.entries(this.alarmPingQueue)) { const channel = this.GetChannel(channel_id); if (!channel) continue; for (const [role, embeds] of Object.entries(data)) {