Skip to content

Commit

Permalink
refactor: 💡 add await
Browse files Browse the repository at this point in the history
  • Loading branch information
heldrida committed Dec 1, 2023
1 parent e29d897 commit 3ae599b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3ae599b

Please sign in to comment.