This project is no longer supported, check the new repository for discord.js v14: https://www.github.com/TFAGaming/DiscordJS-V14-Bot-Template
A simple discord bot project that is running with NodeJS and the package discord.js. Slash commands, prefix commands and events handler are ready. By the way, I have added a dynamic help command in ./commands/Information/help.js because I love you all :)
Gif invalid :(
Engine: NodeJS V16
IDE: Repl.it or Visual Studio Code
Package Manager: NPM
Required Packages: discord.js@13.8.1 - discord-api-types - @discordjs/rest
Because in the future, things may change like some functions won't work anymore (Deprecated or removed). So, let's keep the DJS version 13.8.1 for now, and if there is another version compatible with this project, then we will update this project with a new version.
Type in shell of your IDE: npm install
Type in the terminal or shell of your IDE node .
or node index.js
.
Click on the select menu below to view available features on this project.
Click here!
Features | Availability |
---|---|
Prefix Cmds Handler | ✅ |
Slash Cmds Handler | ✅ |
Events Handler | ✅ |
MongoDB | ❌ |
Custom Prefix | ❌ |
This variable is required for slash commands handler, so the project can register the slash commands to Discord and to the Bot.
The variable TESTING_GUILD_ID
will makes the project to register new slash commands on Discord and to the server id that you've set. If the server id is not found in TESTING_GUILD_ID
in config.json, then the project will register new slash commands to Discord and to all Discord servers that's your bot in.
This project was made by T.F.A#7524. If you want to share this project for your friends or public, please give credits to me or this will end in a copyright warning. Thank you!