Skip to content

Commit

Permalink
fix: fail on message delete (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
d0ctr committed Feb 25, 2024
2 parents 4bfbb24 + a8bee2b commit ac6be0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
4 changes: 2 additions & 2 deletions telegram/channel-subscriber.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
);
});
}
Expand Down

0 comments on commit ac6be0b

Please sign in to comment.