ai/src/module.ts

10 lines
242 B
TypeScript
Raw Normal View History

2018-08-11 06:26:25 +00:00
import from './ai';
2018-08-11 01:42:06 +00:00
import MessageLike from './message-like';
export default interface IModule {
name: string;
2018-08-11 01:42:06 +00:00
install?: (ai: ) => void;
onMention?: (msg: MessageLike) => boolean;
onReplyThisModule?: (msg: MessageLike) => void;
2018-08-11 01:42:06 +00:00
}