From 87df9ec1e93348a83074ae142969830ab194874a Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Fri, 28 Feb 2025 19:09:58 -0500 Subject: [PATCH] Update readme and welcome command response. --- README.md | 12 ++++++++++++ package.json | 2 +- src/bot/features/welcome.ts | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5548591..8fc35f6 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,9 @@ Bot starter template based on [grammY](https://grammy.dev/) bot framework. - Obtain Group ID - Delete Twitter/X links within whitelisted group +- Delete post reformat services for Twitter links within whitelisted group +- Delete Facebook/Meta links within whitelisted group +- Delete other Meta services links within whitelisted group - Check if a group is in the whitelisted IDs ## Usage @@ -386,5 +389,14 @@ bun add -d @types/bun Defaults to an empty array. + + GROUP_IDS + + Array of Number + + + The list of group IDs where the blacklist function would successfully invoke the functions. + + diff --git a/package.json b/package.json index 56541b2..bc2c112 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "no-twitter-bot", "type": "module", - "version": "1.2.0", + "version": "1.2.1", "private": true, "packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447", "description": "This grammY powered Telegram bot is designed to delete Twitter/X links and reformat services from whitelisted groups. This one is the main bot for the LCM Telegram groups/communities.", diff --git a/src/bot/features/welcome.ts b/src/bot/features/welcome.ts index 5ae57cf..d5525e0 100644 --- a/src/bot/features/welcome.ts +++ b/src/bot/features/welcome.ts @@ -8,7 +8,7 @@ const feature = composer.chatType("private"); feature.command("start", logHandle("command-start"), ctx => { return ctx.reply( - `Welcome\\! I am a bot created by Lucid for [Lucid Creations Media groups\\.](https://community.lucidcreations.media/) I am designed to delete any Twitter/X links and reformatting services within groups\\. By default I only work with whitelisted group IDs\\. You can fork me from this link: https://github\\.com/lucid\\-creations\\-media/no\\-twitter\\-bot and deploy me for use in your own groups\\!`, + `Welcome\\! I am a bot created by Lucid for [Lucid Creations Media groups\\.](https://community.lucidcreations.media/) I am designed to delete any Twitter/X and Facebook/Meta links, links to reformatting services for Twitter posts, and other Meta products within groups\\. By default I only work with whitelisted group IDs\\. You can fork me from this link: https://github\\.com/lucid\\-creations\\-media/no\\-twitter\\-bot and deploy me for use in your own groups\\!\n\nLucid would consider hosting this bot for public use if crowd\\-funding would cover the hosting cost of the bot.`, { parse_mode: "MarkdownV2" } ); });