ai/src/module.ts
2018-08-27 06:59:18 +09:00

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;
}