A basic TypeScript starter template for Discord bots built on @sapphiredev/framework
An outdated, although functional JavaScript template is available on the javascript
branch. Not recommended.
TODO
git clone https://github.com/lorencerri/discord-bot-template.git # Clone the repo
cd discord-bot-template # Enter the directory
copy .env.example ./src/.env # Copy the .env.example file into the src folder and rename it .env
nano .env # Fill in the .env file
npm install # Install dependencies
npm run build # Build the bot
npm run start # Start the bot
NOTE: These are all slash commands
- eval
- reload (NOTE: Reloading slash commands is typically buggy)
- ping