Update readme and welcome command response.
This commit is contained in:
12
README.md
12
README.md
@@ -25,6 +25,9 @@ Bot starter template based on [grammY](https://grammy.dev/) bot framework.
|
|||||||
|
|
||||||
- Obtain Group ID
|
- Obtain Group ID
|
||||||
- Delete Twitter/X links within whitelisted group
|
- 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
|
- Check if a group is in the whitelisted IDs
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
@@ -386,5 +389,14 @@ bun add -d @types/bun
|
|||||||
Defaults to an empty array.
|
Defaults to an empty array.
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</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>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "no-twitter-bot",
|
"name": "no-twitter-bot",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "1.2.0",
|
"version": "1.2.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"packageManager": "yarn@1.22.19+sha1.4ba7fc5c6e704fce2066ecbfb0b0d8976fe62447",
|
"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.",
|
"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.",
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ const feature = composer.chatType("private");
|
|||||||
|
|
||||||
feature.command("start", logHandle("command-start"), ctx => {
|
feature.command("start", logHandle("command-start"), ctx => {
|
||||||
return ctx.reply(
|
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" }
|
{ parse_mode: "MarkdownV2" }
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user