diff --git a/src/index.ts b/src/index.ts index 1aa4470..7a85fe2 100644 --- a/src/index.ts +++ b/src/index.ts @@ -234,7 +234,7 @@ client.on("messageCreate", async (msg) => { .on("succeeded", async (response) => { const message = `👋 Hey ${user.toString()} ${cacheQuery.response}\n\n${warningAssistedAI}`; - sendMsgCommonHandler({ + await sendMsgCommonHandler({ msg, user, message,