DEV Community 👩‍💻👨‍💻

Cover image for Discord Bot Javascript Tutorial - Make a Joke Bot via API
Renaissance Engineer
Renaissance Engineer

Posted on

Discord Bot Javascript Tutorial - Make a Joke Bot via API

In this video tutorial you will learn how to make API calls inside your Discord bot commands. Specifically, you will be making a joke bot by calling an API and formatting the JSON response.

You can then extend this tutorial by using the same concepts with different APIs to pull in weather data, wallpaper images, and more.

If you haven't watched the previous videos in the series, you can see the entire playlist here:
https://www.youtube.com/playlist?list=PL_esswHjNwIc9irEctsTuMXlP7_4M7Qwk

Top comments (1)

Collapse
 
yeedank profile image
Yeedank

Is there a link to copy the code?

Need a better mental model for async/await?

Check out this classic DEV post on the subject.

⭐️🎀 JavaScript Visualized: Promises & Async/Await

async await