Initial commit

This commit is contained in:
Lucid Kobold
2025-02-19 10:12:42 -05:00
committed by GitHub
commit 15dd54cebd
37 changed files with 8132 additions and 0 deletions

View File

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