fix: can't response

This commit is contained in:
Siwoo Jeon 2023-11-26 13:58:58 +09:00
parent f2e6a8b1b1
commit 12d99b1f9a
Signed by: migan
GPG key ID: C4151385FFD2082A

View file

@ -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
} .\``