UNPKG

koishi-plugin-kbot

Version:
5 lines (4 loc) 379 B
import type { Bot, Context } from 'koishi'; import type { Context as KoaContext } from 'koa'; export default function handleFunction<T = any>(context: Context, functionName: string, ...args: any[]): (ctx: KoaContext) => Promise<void>; export declare function getGroupMemberRole(bot: Bot, groupId: string | number, userId: string | number): Promise<"owner" | "admin" | "member">;