Files
discordeno/examples/reaction-roles/README.md
Fleny 4939822434 docs: Update desired properties docs (#3940)
* Update docs for desired properties

* Update examples to use createBot desiredProperties

The BigBot and reaction roles examples use the Discordeno CLI

* Migrate examples to v19 stable

* Docs work
2024-11-19 16:40:01 -06:00

531 B

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