Features
This template has all the features of discord.js v14
The Version With No Database
Slash Commands
Buttons
Welcome Message
Example Commands
Rich Presence Status
Subcommands
Modals
Select Menus
Context Menus
Auto Completes
MongoDB Database
Setup
- Download ZIP
- Extract File
The file should look like the image below
- Create config.json
{
"token": "YOUR_DISCORD_TOKEN",
"dbToken": "YOUR_DATABASE_CONNECTION_STRING",
"clientId": "YOUR_CLIENT_ID",
"guildId": "GUILD_ID"
}
- Download NPM packages
Open a new terminal (command prompt or powershell is also going to work) and type
npm install
for installing all packages necessary for the bot.
And everything is ready. Finally, you can run the bot by typing node .