mirror of
https://github.com/syuilo/ai.git
synced 2024-11-14 01:37:59 +00:00
11 lines
290 B
TypeScript
11 lines
290 B
TypeScript
import 藍 from './ai';
|
|
import MessageLike from './message-like';
|
|
|
|
export default interface IModule {
|
|
name: string;
|
|
install?: (ai: 藍) => void;
|
|
onMention?: (msg: MessageLike) => boolean;
|
|
onLocalNote?: (note: any) => void;
|
|
onReplyThisModule?: (msg: MessageLike, data?: any) => void;
|
|
}
|