Building a Discord Bot w/ discord.js, Typescript and Heroku

Learn how to code a production-ready bot by using the latest version of discord.js, Typescript and learn to deploy it

Ratings: 3.68 / 5.00




Description

Welcome to this course! In this course you will learn how to code a production-ready bot with discord.js and the recommended package to build slash commands, which is the @discordjs/builders. The latter implements a design pattern called the "builder" pattern, which makes it easier to build objects of classes. We will also not waste time and deploy our bot to Heroku as soon as we can. This is always one of the first steps you wanna do and we'll do it with CD (continuous deployment) by connecting Heroku to our GitHub repo. Many tutorials out there show you how to code bots without a structure and deploy it to… Replit? In this course that's not the case! We'll learn many things that will help you be a better software developer in general. You'll not only learn to code a bot, you'll learn best practices like creating a bot for development and another one for production. We'll do it just as if we were going to build a web app!

  • Typescript

  • Reply to messages

  • Create slash commands

  • Create buttons and links

  • Create message collectors

  • Create embeds

  • Create reactions collectors

  • Create subcommands

  • Get information about a user and its roles

  • Add options to commands

  • Add simple tests

  • Deploy to Heroku and connect it to GitHub for CD

  • BEST PRACTICES

  • Etc...

What You Will Learn!

  • Build a bot using the latest discord js and the discord builders package
  • Understand how Typescript can help us write better code
  • Learn how to deploy the bot in Heroku
  • How to structure your code effectively to build a scalable and production-ready bot
  • How to add simple tests

Who Should Attend!

  • Beginner Javascript developers interested in building bots
  • Intermediate Javascript and Typescript developers interested in building bots
  • Advanced Typescript developers interested in learning how to build bots in Discord