From 89c905876042087deed5699b075f795eeed62cec Mon Sep 17 00:00:00 2001 From: Danila Vasilev Date: Sun, 25 Feb 2024 13:34:26 +0000 Subject: [PATCH 1/2] fix fail on message delete --- telegram/channel-subscriber.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 } ); }); } From a8bee2b9046977c18845a82fda450a03d28bef51 Mon Sep 17 00:00:00 2001 From: Automated Version Bump Date: Sun, 25 Feb 2024 13:52:56 +0000 Subject: [PATCH 2/2] ci: version bump to 2.86.1 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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": {