content(docs): fix missing async in async/await example

This commit is contained in:
Jean-Philippe Sirois
2020-07-24 11:45:35 -04:00
parent 27db19a17e
commit 9ba91ea47a
@@ -141,7 +141,7 @@ In this example, we are querying real data from the Rick & Morty API. This API h
### Let's also look at an example from Discord.js:
```js
client.on("message", (msg) => {
client.on("message", async (msg) => {
if (msg.author.bot) return;
if (msg.content === "ping") {