Use this template to create your Repository. Clone your Repository and start editing. 😎
Copy .example.env to .env and change the values.
CLIENT_TOKEN="client_token"
TEST_GUILD="1234567"
Create your bot here. Discord Developer Portal
You will find many tutorials how to do that on Youtube/Google.
To add a new category copy the schema of the example folder and for the events is it mostly the same you can follow the schema.
- Enable all Privileged intents on the Discord Developer Portal.
- Keep in mind that you have to register your Commands and Events.
- After you change or add a Command you have to run
npm run deploy. If not Discord will not recognize your Slash Commands. - To run the Bot for Development use
npm run dev. - To Build the Bot use
npm run build. - And to deply for the production build use
npm run deploy-prod - To run the compiled version of the Bot run
npm startornpm run start
A list of all Scripts you will find in the package.json