Merge pull request #295 from the-programmers-hangout/content-fix-mistake-in-async-await

content(docs): fix missing async in async/await example
This commit is contained in:
Jean-Philippe Sirois
2020-07-24 11:47:44 -04:00
committed by GitHub
@@ -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") {