A simple discord bot base to serve as a foundation for anyone's discord bot. This project includes examples for commands and events for your discord bot.
Compatible with both Bun (>=1.0.0) and Node.js (>=18.0.0) via tsx.
You can create your bot through the Developer Portal. You will also find your bot token and application id.
- Provide your bot token and id inside the
.envfile. - Install dependencies.
- Register slash commands.
- Start the bot.
bun install
bun run register:bun
bun run start:bunnpm install
npm run register
npm run start