ai/src/module.ts
2018-08-12 23:03:00 +09:00

10 lines
242 B
TypeScript

import from './ai';
import MessageLike from './message-like';
export default interface IModule {
name: string;
install?: (ai: ) => void;
onMention?: (msg: MessageLike) => boolean;
onReplyThisModule?: (msg: MessageLike) => void;
}