koishi-plugin-kbot
Version:
A muti-function qq bot for koishi
5 lines (4 loc) • 379 B
TypeScript
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">;