This template provides boilerplate code for Discord.js v14. Ready for slash command and everything you need to start out with your bot!
To use this bot follow the steps given down below.
1. Press the big green "Use this template" button at the top of the repo.
2. Download your freshly created repo with the template code in it.
We recommend using github desktop for this
3. Open the Files in vscode and create a .env file based on the template given below
TOKEN= <Your bots token ofc>
GUILD_ID= <The guild id to load slash commands on>
STATUS=DEVELOPMENT <Change to PRODUCTION to load commands on every guild>
STATUSBOT= <The status for your bot>
DISCORDSTATUS=dnd <Change to whatever you want>
4. One you filled out the .env variables open a terminal and run the following commands
Running the bot in test mode:
npm run test
Running the bot in normal mode:
npm run start
- Works with discord.js v14
- Example Commands & Buttons
- Slash command ready
- Clean file structure
- Fast and secure
If you use this template in your bot make sure to add me on Discord dominikdev I would love to check them out!