From 3cf81f5963e530470334908b0ac4b7cc16a39984 Mon Sep 17 00:00:00 2001 From: Lucid Kobold <72232219+LucidKobold@users.noreply.github.com> Date: Wed, 19 Feb 2025 18:20:16 -0500 Subject: [PATCH] Fix welcome command --- src/bot/features/welcome.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bot/features/welcome.ts b/src/bot/features/welcome.ts index ef47519..9b197dd 100644 --- a/src/bot/features/welcome.ts +++ b/src/bot/features/welcome.ts @@ -6,10 +6,10 @@ const composer = new Composer(); const feature = composer.chatType("private"); -feature.command("start", logHandle("command-start"), ctx => { +feature.hears("start", logHandle("command-start"), ctx => { return ctx.reply( ctx.t( - "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/LucidCreationsMedia/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. 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" } );