From 3ed97ecabcf0329e06090bee93170296ea12f5b9 Mon Sep 17 00:00:00 2001 From: Lucid Kobold Date: Mon, 29 Sep 2025 01:03:49 -0400 Subject: [PATCH] Added documentation. Updated name of company. --- src/bot/features/welcome.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/bot/features/welcome.ts b/src/bot/features/welcome.ts index 850cc0e..356df1e 100644 --- a/src/bot/features/welcome.ts +++ b/src/bot/features/welcome.ts @@ -5,10 +5,14 @@ import { logHandle } from "#root/bot/helpers/logging.js"; const composer = new Composer(); const feature = composer.chatType("private"); - +/** + * What triggers this feature and adds to the log when it has been triggered. + * The trigger is the command "/start" or "start" + */ feature.command("start", logHandle("command-start"), ctx => { + // Responds with information about the bot. 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 and Facebook/Meta links, links to reformatting services for Twitter posts, and other Meta products within groups\\. I now check embedded links\\! 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\\. Reach out if you would like to help\\.`, + `Welcome\\! I am a bot created by Lucid for [Werewolf Kid Creations Media groups\\.](https://community.lucidcreations.media/) I am designed to delete any Twitter/X and Meta links along with corresponding reformatting services within the WKC groups\\. I now check embedded links\\! 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\\. Reach out if you would like to help\\.`, { parse_mode: "MarkdownV2" } ); });