Await handler

This commit is contained in:
Jordan Eldredge 2020-01-13 20:16:13 -05:00
parent b6a4c0d7b0
commit c588e28116

View file

@ -66,7 +66,7 @@ client.on("message", async (message) => {
});
return;
}
handler(message, args);
await handler(message, args);
});
client.on("error", (e) => {