Building a Discord Bot w/ discord.js, Typescript and Heroku
What you'll 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
- Have a Discord account
- Willing to learn new things
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!
Reply to messages
Create slash commands
Create buttons and links
Create message collectors
Create reactions collectors
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
Who this course is for:
- Advanced Typescript developers interested in learning how to build bots in Discord
Hi! My name is David Armendáriz. I am ecuadorian.
I studied mathematics at USFQ (Universidad San Francisco de Quito). However, I love coding and that's why I transitioned to the software industry. I love to share my knowledge here in Udemy and in YouTube.
I hope you enjoy my courses as much as I enjoy doing them and remember: never stop learning!