Files
discordeno/examples/advanced
Zero-Tools 4ca4c808a5 add .yarnrc.yml to advanced example solution (#3887)
* 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
2024-08-28 23:52:26 +05:30
..

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 yarn to install the dependencies
  • run yarn build to build the source
  • run node dist/register-commands.js to register the slash commands
  • run yarn start to run the bot