mirror of
https://github.com/discordeno/discordeno.git
synced 2026-05-30 15:30:07 +00:00
* Migrate eslint and prettier to biomejs This does NOT include examples/bigbot as it has its own formatter * Update to biome 1.8.0 * Readd dotenv dev dependency to rest During a merge it got lost
Advanced Bot Template
This template contains more advanced code.
This template includes caching (using dd-proxy-cache), user permission handling, and slash commands options support
This template also includes a /ping command to show the bot latency and a /warn command to show how to send a DM to a user and how to check for permissions
Setup
- Download the source
- Install the dependencies using
yarn - Copy the .env.example file and rename it to .env
- Fill out the .env file
Run Bot
- run
yarnto install the dependencies - run
yarn buildto build the source - run
node dist/register-commands.jsto register the slash commands - run
yarn startto run the bot