The base repository for Top.gg's Build-A-Bot Event.
We'll be using discord.js simply because it's the best library to use when starting out as a developer or when learning to code a Discord bot thanks to its vast community and plethora of online resources to help you along the way! We'll also be basing all of the code in this tutorial on the discordjs.guide documentation so you may build upon it further using these docs as guidance in the future.
We'll be self-hosting this bot on our local machines for the purpose of this tutorial, but most of the process is essentially the same if you're using a VPS.
For more help we encourage you to use the #development channel in the Top.gg Discord server where you can find help from other bot developers in our community!
During this tutorial, you will learn how to:
- Create a Discord application and bot.
- Create a GitHub repository.
- Use git within Visual Studio Code.
- Bring your Discord bot online.
- Create a basic slash command.
- Submit your bot to Top.gg.
- Install Visual Studio Code
- Install node.js
- Create a Discord server to test your bot in (optional)