When you enroll through our links, we may earn a small commission—at no extra cost to you. This helps keep our platform free and inspires us to add more value.

Udemy logo

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

     
  • 3.7
  •  |
  • Reviews ( 9 )
₹499

This Course Includes

  • iconudemy
  • icon3.7 (9 reviews )
  • icon5.5 total hours
  • iconenglish
  • iconOnline - Self Paced
  • iconcourse
  • iconUdemy

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

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.