My template for creating bots w/ slash commands on discord.js v13
Before using this open source project make sure to download atleast NodeJS version 16.x.x
Aswell as your favorite IDE in our case we choose visual studio code!
To use this template follow the steps given down below.
1. Press the big green "Code" button at the top of the repo.
2. Clone 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.
DISCORD_TOKEN=your-token
OWNER_ID=your-discord-id
4. One you filled out the .env variables open a terminal and run the following commands
Installing the required packages:
npm install
Start the bot:
npm start
- Slash commands
- Clean file structure
- Enviroment variables
- Global Command handling