diff --git a/package-lock.json b/package-lock.json index 3aa5fe2..e44d80b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bilderberg_butler", - "version": "2.89.0", + "version": "2.89.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bilderberg_butler", - "version": "2.89.0", + "version": "2.89.1", "license": "GPL-3.0-only", "dependencies": { "@anthropic-ai/sdk": "^0.17.2", diff --git a/package.json b/package.json index a437a91..c389e05 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bilderberg_butler", - "version": "2.89.0", + "version": "2.89.1", "description": "Discord bot for bilderberg club", "main": "index.js", "scripts": { diff --git a/telegram/channel-subscriber.js b/telegram/channel-subscriber.js index d4ebf0b..38c4555 100644 --- a/telegram/channel-subscriber.js +++ b/telegram/channel-subscriber.js @@ -245,7 +245,7 @@ class DiscordNotification { } notification_data.members.forEach((member) => { - text += `\n${member.member_name || member.user_name}` + text += `\n${wideSpace}${member.member_name || member.user_name}` + (this.transformStatus(member) ? `${wideSpace}${this.transformStatus(member)}` : '') + (member.activity ? `${wideSpace}— ${member.activity}` : ''); }); diff --git a/utils/index.js b/utils/index.js index 1bb9eaf..49b38a1 100644 --- a/utils/index.js +++ b/utils/index.js @@ -103,28 +103,30 @@ exports.convertMD2HTML = (text) => { }; exports.icons = { - 'discord' : '☎️', - 'sound_on' : '🎧', - 'sound_off' : '🔕', - 'mic_on' : '🎤', - 'mic_off' : '🔇', - 'activity' : '🚀', - 'live' : '🔴', - 'share_screen' : '📺', - 'video_on' : '🎥', - 'voice_channel' : '🔈', - 'announcements' : '📣', - 'checkbox' : '🔳', - 'checkbox_checked' : '☑️', - 'boost' : '⚡️', - 'event' : '🗓', - 'forum_channel' : '🏛', - 'notifications' : '🔔', - 'notifications_off': '🔕', - 'rules' : '📕', - 'settings' : '⚙️', - 'stage_channel' : '🎤', - 'text_channel' : '📝', + 'discord' : '☎️', + 'sound_on' : '🎧', + 'sound_off' : '🔕', + 'mic_on' : '🎤', + 'mic_off' : '🔇', + 'activity' : '🚀', + 'live' : '🔴', + 'share_screen' : '📺', + 'video_on' : '🎥', + 'voice_channel' : '🔈', + 'announcements' : '📣', + 'checkbox' : '🔳', + 'checkbox_checked' : '☑️', + 'boost' : '⚡️', + 'event' : '🗓', + 'forum_channel' : '🏛', + 'notifications' : '🔔', + 'notifications_off': '🔕', + 'rules' : '📕', + 'settings' : '⚙️', + 'stage_channel' : '🎤', + 'text_channel' : '📝', + 'folder' : '📂', + 'lock' : '🔒', }; if (ENV === 'dev') { @@ -133,4 +135,4 @@ if (ENV === 'dev') { } } -exports.wideSpace = ' '; \ No newline at end of file +exports.wideSpace = ' ';