Clone the repo and install dependencies:
git clone https://github.com/EnigmaOneOfficial/Buncord
cd Buncord
bun i
Get your token and application id and put them in a .env
file in the root directory of the project:
TOKEN=your_discord_bot_token
APPLICATION_ID=your_discord_bot_application_id
Start the bot:
bun start
# To enable hot reloading, run:
# bun dev
Register the commands:
bun run bot:register
# To register guild-specific commands, run:
# bun run bot:register --guild 1234567890
Unregister the commands:
bun run bot:unregister
# To unregister guild-specific commands, run:
# bun run bot:unregister --guild 1234567890
Note: Registration takes about an hour for global slash commands - and seconds for guild-specific slash commands.
Logo | Name | Context |
---|---|---|
Bun | Runtime | |
Discord.js | Discord API | |
Drizzle | Database | |
TypeScript | Language | |
Biome | Linter |