@kotori-bot/kotori-plugin-adapter-onebot
Version:
Adapter For Onebot 11
10 lines (9 loc) • 384 B
TypeScript
import { Elements, type Message, type MessageMapping } from 'kotori-bot';
import type { MessageCqType } from './types';
export declare class OnebotElements extends Elements {
getSupportsElements(): (keyof MessageMapping)[];
decode(message: Message): string;
encode(raw: string): Message;
cq(type: MessageCqType, data: string): string;
}
export default OnebotElements;