diff --git a/src/bot/features/admin.ts b/src/bot/features/admin.ts index 78ea9c6..0c0a97a 100644 --- a/src/bot/features/admin.ts +++ b/src/bot/features/admin.ts @@ -1,15 +1,14 @@ import { chatAction } from "@grammyjs/auto-chat-action"; import { Composer } from "grammy"; import type { Context } from "#root/bot/context.js"; -import { isAdmin } from "#root/bot/filters/is-admin.js"; +// import { isAdmin } from "#root/bot/filters/is-admin.js"; import { setCommandsHandler } from "#root/bot/handlers/commands/setcommands.js"; import { logHandle } from "#root/bot/helpers/logging.js"; const composer = new Composer(); -const feature = composer - .chatType("private") - .filter(ctx => isAdmin(ctx.config.botAdmins)(ctx)); +const feature = composer.chatType("private"); +// .filter(ctx => isAdmin(ctx.config.botAdmins)(ctx)); feature.command( "setcommands", diff --git a/src/bot/features/welcome.ts b/src/bot/features/welcome.ts index 1bb6232..ced6bae 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\\. 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" } ); });