mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-01 08:20:08 +00:00
* add .yarnrc.yml to advanced example solution add .yanrc.yml to advanced example so that it builds correctly * Create .yarnrc.yml This file is needed or else when yarn runs in `docker build` will attempt to use PnP * Create .yarnrc.yml This file is needed or else when yarn runs in `docker build` will attempt to use PnP * Create .yarnrc.yml This file is needed or else when yarn runs in `docker build` will attempt to use PnP * Update .yarnrc.yml's message to be more accurate Remove docker reference as it is irrelevant * Update .yarnrc.yml to be more accurate Removed reference to docker as it was irrelevant * Update .yarnrc.yml to be more accurate Remove reference to docker as it is irrelevant * Update .yarnrc.yml to be more accurate Remove reference to docker as it is irrelevant
Beginner Bot Template
This template is designed for beginners to start coding discord bots.
This template includes caching (using dd-cache-proxy) and support for slash subcommands.
This template also includes a /ping command to show the bot latency
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