Files
discordeno/examples/reaction-roles
Fleny 919474069d chore: Migrate ESLint and prettier to Biome (#3634)
* 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
2024-07-13 13:05:02 -05: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 build to build the .ts files into .js
  3. yarn start (or node ./dist/index.js) to run the bot