fix: can't response
This commit is contained in:
parent
f2e6a8b1b1
commit
12d99b1f9a
1 changed files with 1 additions and 0 deletions
|
@ -31,6 +31,7 @@ export default class ChatBot {
|
||||||
if (a === 1) {
|
if (a === 1) {
|
||||||
if (learn[0]) {
|
if (learn[0]) {
|
||||||
if (args.startsWith(learn[0].command)) {
|
if (args.startsWith(learn[0].command)) {
|
||||||
|
db.release()
|
||||||
return `${learn[0].result}\n\`${
|
return `${learn[0].result}\n\`${
|
||||||
(await msg.client.users.fetch(learn[0].user_id)).username
|
(await msg.client.users.fetch(learn[0].user_id)).username
|
||||||
}님이 알려주셨어요.\``
|
}님이 알려주셨어요.\``
|
||||||
|
|
Loading…
Reference in a new issue