ai/src/module.ts

11 lines
278 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;
2018-08-13 21:14:47 +00:00
onLocalNote?: (note: any) => void;
onReplyThisModule?: (msg: MessageLike) => void;
2018-08-11 01:42:06 +00:00
}