First build

This commit is contained in:
Lucid Kobold
2025-02-19 11:11:47 -05:00
43 changed files with 4061 additions and 7177 deletions

View File

@@ -1,5 +1,5 @@
import type { Context } from '#root/bot/context.js'
import type { Context } from "#root/bot/context.js";
export function isAdmin(ctx: Context) {
return !!ctx.from && ctx.config.botAdmins.includes(ctx.from.id)
return !!ctx.from && ctx.config.botAdmins.includes(ctx.from.id);
}