diff --git a/src/modules/ChatBot.ts b/src/modules/ChatBot.ts index 6252e5f..ec94e31 100644 --- a/src/modules/ChatBot.ts +++ b/src/modules/ChatBot.ts @@ -31,6 +31,7 @@ export default class ChatBot { if (a === 1) { if (learn[0]) { if (args.startsWith(learn[0].command)) { + db.release() return `${learn[0].result}\n\`${ (await msg.client.users.fetch(learn[0].user_id)).username }님이 알려주셨어요.\``