📝 A type-safe Discord.js v14 boilerplate built with TypeScript and Bun.
MIT License
A type-safe Discord.js v14 boilerplate built with TypeScript and Bun.
/ping
and /purge
commandsFeel free to share your ideas, report issues, and help make discord-bot-template even better!
Clone the project
git clone https://github.com/aelew/discord-bot-template.git
Go to the project directory
cd discord-bot-template
Install dependencies
bun i
Set environment variables
To run this project, you need to set the required environment variables.
Copy `.env.example` into a new file called `.env` and fill in the values.
Deploy application commands
bun run deploy
Start the bot
bun start
bun start # start the bot
bun lint # run biome linter
bun format # run biome formatter
bun run deploy # deploy commands (run after adding/modifying command data)