From dd06eb3f7cb92da8d323358d528d5c297ad1a572 Mon Sep 17 00:00:00 2001 From: Lucid Kobold Date: Mon, 29 Sep 2025 00:59:45 -0400 Subject: [PATCH] Removed unused feature. --- src/bot/features/admin.ts | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/bot/features/admin.ts diff --git a/src/bot/features/admin.ts b/src/bot/features/admin.ts deleted file mode 100644 index 0c0a97a..0000000 --- a/src/bot/features/admin.ts +++ /dev/null @@ -1,20 +0,0 @@ -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 { 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)); - -feature.command( - "setcommands", - logHandle("command-setcommands"), - chatAction("typing"), - setCommandsHandler -); - -export { composer as adminFeature };