This device is not compatible.
PROJECT
Genius TypeScript Discord Bot
In this project, we’ll learn how to create a basic, functional Discord bot. We’ll consider including all of the necessary features of a high-end bot, like basic moderation, user input, and database connections. The output will be displayed on the Discord platform.
You will learn to:
Use the discord.js API for building bots.
Write clean, efficient and effective code in a multifile-intensive codebase.
Use a nonrelational database management system like MongoDB.
Process events in Node.js using TypeScript.
Process and manipulate the user input.
Use an environment secret file.
Skills
Web API
Event Handling
Web Development
Prerequisites
Familiarity with the Discord platform
An understanding of TypeScript
Technologies
MongoDB
TypeScript
discord.js
Project Description
Discord is a growing platform; it is being used by businesses, influencers, educational institutions, and others. It is a great place for developers to connect and interact, and also a great place to build skills, especially by what we’re doing in this project, making a bot. Discord bots can be used to automate tasks and moderate Discord servers; it can include games, and more. The possibilities are really endless. Discord cares a lot about its developer community, frequently updating its API and allowing for new ways of taking input.
In this project, we’ll use discord.js, a Discord API wrapper, to interact with Discord. Our bot can mute (time-out) a user for a period, store that infraction data, and then access it later. We will also create a “suggest” command so that users can help us improve our bot by telling us what they want to see. We will also write a basic “whois” command to view information on a Discord account.
Project Tasks
1
Get Started
Task 0: Introduction
Task 1: Create a Database
2
Command Structuring
Task 2: Create a whois command
Task 3: Listen for Slash Commands
Task 4: Create an Embed
3
Advanced Interaction
Task 5: Listen for Message Events
Task 6: Listen for Member Joins
Task 7: Create a Suggestion Command
4
Moderation an Utilities
Task 8: Create a Mute Command
Task 9: Create a Pagination Class
Task 10: Create an Infractions Command
Congratulations!
Relevant Course
Use the following content to review prerequisites or explore specific concepts in detail.