Update readme and welcome command response.

This commit is contained in:
Lucid Kobold
2025-02-28 19:09:58 -05:00
parent 7d6b6ffd75
commit 87df9ec1e9
3 changed files with 14 additions and 2 deletions

View File

@@ -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.
</td>
</tr>
<tr>
<td>GROUP_IDS</td>
<td>
Array of Number
</td>
<td>
The list of group IDs where the blacklist function would successfully invoke the functions.
</td>
</tr>
</tbody>
</table>

View File

@@ -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.",

View File

@@ -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" }
);
});