Merge pull request #11 from lucid-creations-media/start-command

Fix welcome command
This commit was merged in pull request #11.
This commit is contained in:
Lucid Kobold
2025-02-19 18:29:06 -05:00
committed by GitHub

View File

@@ -6,11 +6,9 @@ const composer = new Composer<Context>();
const feature = composer.chatType("private"); const feature = composer.chatType("private");
feature.hears("start", logHandle("command-start"), ctx => { feature.command("start", logHandle("command-start"), ctx => {
return ctx.reply( 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/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. 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" } { parse_mode: "MarkdownV2" }
); );
}); });