HOME > Development > Building a Discord Bot w discord.js, Typescript and Heroku

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

  • Development
  • Mar 08, 2025
SynopsisBuilding a Discord Bot w/ discord.js, Typescript and Heroku,...
Building a Discord Bot w discord.js, Typescript and Heroku  No.1

Building a Discord Bot w/ discord.js, Typescript and Heroku, available at $39.99, has an average rating of 3.78, with 44 lectures, based on 9 reviews, and has 43 subscribers.

You will learn about 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 This course is ideal for individuals who are Beginner Javascript developers interested in building bots or Intermediate Javascript and Typescript developers interested in building bots or Advanced Typescript developers interested in learning how to build bots in Discord It is particularly useful for Beginner Javascript developers interested in building bots or Intermediate Javascript and Typescript developers interested in building bots or Advanced Typescript developers interested in learning how to build bots in Discord.

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

Summary

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

Price: $39.99

Average Rating: 3.78

Number of Lectures: 44

Number of Published Lectures: 44

Number of Curriculum Items: 44

Number of Published Curriculum Objects: 44

Original Price: $19.99

Quality Status: approved

Status: Live

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
  • Target Audiences

  • 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
  • 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

  • Course Curriculum

    Chapter 1: Introduction

    Lecture 1: Introduction

    Lecture 2: Things you should know

    Lecture 3: Windows Subsystem For Linux (WSL) for Windows users

    Lecture 4: Node Version Manager (NVM)

    Lecture 5: Useful VSCode extensions

    Lecture 6: GitHub code

    Chapter 2: Setup

    Lecture 1: Create a server and bots in Discord

    Lecture 2: Initial configuration (Part 1)

    Lecture 3: Initial configuration (Part 2)

    Lecture 4: Initial configuration (Part 3)

    Lecture 5: Initial configuration (Part 4)

    Lecture 6: UPDATE: fixing the package versions

    Lecture 7: Making the bot go online

    Chapter 3: A simple ping-pong example

    Lecture 1: A ping-pong simple command

    Chapter 4: A simple slash command

    Lecture 1: Handling slash commands

    Lecture 2: Creating a greeting command

    Chapter 5: Registering guild commands

    Lecture 1: Registering guild commands

    Chapter 6: Deploying to Heroku

    Lecture 1: Deploying to Heroku

    Lecture 2: Adding Node version in package.json

    Chapter 7: Add command

    Lecture 1: Add Command

    Chapter 8: Replying with a link

    Lecture 1: Replying with a link button

    Chapter 9: User info command

    Lecture 1: User info (Part 1)

    Lecture 2: User info (Part 2)

    Chapter 10: Poll command (collectors, buttons, and more!)

    Lecture 1: Poll command (Part 1)

    Lecture 2: Poll command (Part 2)

    Lecture 3: Poll command (Part 3)

    Lecture 4: Poll command (Part 4)

    Lecture 5: Poll command (Part 5)

    Lecture 6: Poll command (Part 6)

    Lecture 7: Poll command (Part 7)

    Lecture 8: Poll command (Part 8)

    Chapter 11: Command with API calls

    Lecture 1: Get random anime command (Part 1)

    Lecture 2: Get random anime command (Part 2)

    Chapter 12: Help command with subcommands

    Lecture 1: Creating the help command

    Chapter 13: Adding self roles (permissions, custom emojis and roles!)

    Lecture 1: Adding self roles (Part 1)

    Lecture 2: Adding self roles (Part 2)

    Lecture 3: Remember to update your environment variables in Heroku!

    Lecture 4: Adding self roles (Part 3)

    Lecture 5: Adding self roles (Part 4)

    Lecture 6: Adding self roles (Part 5)

    Lecture 7: IMPORTANT: Permissions V2 update

    Chapter 14: Simple test with Jest

    Lecture 1: Adding Jest

    Lecture 2: Test for Add command

    Chapter 15: Conclusion

    Lecture 1: Conclusion

    Instructors

  • Building a Discord Bot w discord.js, Typescript and Heroku  No.2
    David Armendáriz
    Mathematician & Software Developer
  • Rating Distribution

  • 1 stars: 1 votes
  • 2 stars: 1 votes
  • 3 stars: 1 votes
  • 4 stars: 3 votes
  • 5 stars: 3 votes
  • Frequently Asked Questions

    How long do I have access to the course materials?

    You can view and review the lecture materials indefinitely, like an on-demand channel.

    Can I take my courses with me wherever I go?

    Definitely! If you have an internet connection, courses on Udemy are available on any device at any time. If you don’t have an internet connection, some instructors also let their students download course lectures. That’s up to the instructor though, so make sure you get on their good side!