diff --git a/package-lock.json b/package-lock.json index 519084e..89ba025 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bilderberg_butler", - "version": "2.86.0", + "version": "2.86.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bilderberg_butler", - "version": "2.86.0", + "version": "2.86.1", "license": "GPL-3.0-only", "dependencies": { "@discordjs/rest": "^2.0.1", diff --git a/package.json b/package.json index a7eaa97..7a35d41 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bilderberg_butler", - "version": "2.86.0", + "version": "2.86.1", "description": "Discord bot for bilderberg club", "main": "index.js", "scripts": { diff --git a/telegram/channel-subscriber.js b/telegram/channel-subscriber.js index f1d0dc2..3160208 100644 --- a/telegram/channel-subscriber.js +++ b/telegram/channel-subscriber.js @@ -423,8 +423,8 @@ function clearNotification(discord_notification) { discord_notification.clear(); }).catch(err => { logger.error( - `Error while clearing channel state notification [message: ${current_message_id}] about [channel_id: ${discord_notification.channel_id}] in [chat: ${discord_notification.chat_id}]`, - { error: err.stack || err, ...discord_notification.getLogMeta(), telegram_message_id: current_message_id } + `Error while clearing channel state notification [message: ${discord_notification.current_message_id}] about [channel_id: ${discord_notification.channel_id}] in [chat: ${discord_notification.chat_id}]`, + { error: err.stack || err, ...discord_notification.getLogMeta(), telegram_message_id: discord_notification.current_message_id } ); }); }