From ad74517883c202fc9185b580cea4d9e0c73eded8 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:52:13 -0500 Subject: [PATCH 1/2] Update start command --- src/bot/features/welcome.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bot/features/welcome.ts b/src/bot/features/welcome.ts index ced6bae..5ae57cf 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\\. 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 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\\!`, { parse_mode: "MarkdownV2" } ); }); -- 2.49.1 From e22a5ceeb90ba4db7d2b88c1a3c1c67f0b6a8e9c Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:53:28 -0500 Subject: [PATCH 2/2] Update start command --- src/bot/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bot/index.ts b/src/bot/index.ts index a55f0ae..386541e 100644 --- a/src/bot/index.ts +++ b/src/bot/index.ts @@ -2,7 +2,7 @@ import type { Context } from "#root/bot/context.js"; import type { Config } from "#root/config.js"; import type { Logger } from "#root/logger.js"; import type { BotConfig } from "grammy"; -import { adminFeature } from "#root/bot/features/admin.js"; +// import { adminFeature } from "#root/bot/features/admin.js"; import { languageFeature } from "#root/bot/features/language.js"; import { unhandledFeature } from "#root/bot/features/unhandled.js"; import { welcomeFeature } from "#root/bot/features/welcome.js"; @@ -68,7 +68,7 @@ export function createBot( // Handlers protectedBot.use(welcomeFeature); - protectedBot.use(adminFeature); + // protectedBot.use(adminFeature); if (isMultipleLocales) protectedBot.use(languageFeature); // Commands -- 2.49.1