mirror of
https://github.com/syuilo/ai.git
synced 2024-11-14 01:37:59 +00:00
Refactor
This commit is contained in:
parent
93532bcf7f
commit
c77a3f6be7
|
@ -13,7 +13,7 @@ import { FriendDoc } from './friend';
|
||||||
import { User } from './misskey/user';
|
import { User } from './misskey/user';
|
||||||
import getCollection from './utils/get-collection';
|
import getCollection from './utils/get-collection';
|
||||||
import Stream from './stream';
|
import Stream from './stream';
|
||||||
import log from './log';
|
import log from './utils/log';
|
||||||
|
|
||||||
type MentionHook = (msg: Message) => boolean | HandlerResult;
|
type MentionHook = (msg: Message) => boolean | HandlerResult;
|
||||||
type ContextHook = (msg: Message, data?: any) => void | HandlerResult;
|
type ContextHook = (msg: Message, data?: any) => void | HandlerResult;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import 藍 from './ai';
|
import 藍 from './ai';
|
||||||
import config from './config';
|
import config from './config';
|
||||||
import _log from './log';
|
import _log from './utils/log';
|
||||||
|
|
||||||
import CoreModule from './modules/core';
|
import CoreModule from './modules/core';
|
||||||
import BirthdayModule from './modules/birthday';
|
import BirthdayModule from './modules/birthday';
|
||||||
|
|
Loading…
Reference in a new issue