Files
discordeno/examples/reaction-roles
Fleny b177eb40f8 chore: Update yarn, refactor packages setup (#4085)
* Update yarn, refactor packages setup

* Rename some jobs in lib-check.yml

* Update website/yarn.lock

* Revert build-type-and-test job name change
2025-01-16 22:27:10 -06:00
..
2024-11-28 16:48:14 -06:00

Reaction roles example bot

Example bot for reaction-roles using Discord Interactions and not classic reactions.

Setup

  1. Rename .env.example to .env and add your bot token in the TOKEN variable
  2. Replace REPLACE WITH YOUR GUILD ID in src/register-commands.ts with your test guild id

Run the bot

  1. yarn to install the dependencies
  2. yarn postinstall to run the Discordeno Desired Properties CLI
  3. yarn build to build the .ts files into .js
  4. yarn start (or node ./dist/index.js) to run the bot