From c77a3f6be7263445f34a01f5f7c6b10a2e462332 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 15 Jan 2019 18:58:04 +0900 Subject: [PATCH] Refactor --- src/ai.ts | 2 +- src/index.ts | 2 +- src/{ => utils}/log.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename src/{ => utils}/log.ts (100%) diff --git a/src/ai.ts b/src/ai.ts index 1d413f8..aedc8ef 100644 --- a/src/ai.ts +++ b/src/ai.ts @@ -13,7 +13,7 @@ import { FriendDoc } from './friend'; import { User } from './misskey/user'; import getCollection from './utils/get-collection'; import Stream from './stream'; -import log from './log'; +import log from './utils/log'; type MentionHook = (msg: Message) => boolean | HandlerResult; type ContextHook = (msg: Message, data?: any) => void | HandlerResult; diff --git a/src/index.ts b/src/index.ts index aa15b8d..852692a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import 藍 from './ai'; import config from './config'; -import _log from './log'; +import _log from './utils/log'; import CoreModule from './modules/core'; import BirthdayModule from './modules/birthday'; diff --git a/src/log.ts b/src/utils/log.ts similarity index 100% rename from src/log.ts rename to src/utils/log.ts