Files
discordeno/examples/reaction-roles
dependabot[bot] 56b89d4123 build(deps): bump the example-deps group across 5 directories with 4 updates (#5386)
Bumps the example-deps group with 1 update in the /examples/advanced directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).
Bumps the example-deps group with 1 update in the /examples/beginner directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).
Bumps the example-deps group with 4 updates in the /examples/bigbot directory: [@discordeno/bot](https://github.com/discordeno/discordeno), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [@fastify/multipart](https://github.com/fastify/fastify-multipart) and [fastify](https://github.com/fastify/fastify).
Bumps the example-deps group with 1 update in the /examples/minimal directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).
Bumps the example-deps group with 1 update in the /examples/reaction-roles directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node).


Updates `@types/node` from 26.2.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/node` from 26.2.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@discordeno/bot` from 22.0.1-next.8caf1b4 to 22.0.1-next.9832342
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/commits)

Updates `@types/node` from 26.2.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@fastify/multipart` from 10.1.0 to 10.1.1
- [Release notes](https://github.com/fastify/fastify-multipart/releases)
- [Commits](https://github.com/fastify/fastify-multipart/compare/v10.1.0...v10.1.1)

Updates `fastify` from 5.11.3 to 5.12.1
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v5.11.3...v5.12.1)

Updates `@types/node` from 26.2.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `@types/node` from 26.2.0 to 26.4.0
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 26.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 22.0.1-next.9832342
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@fastify/multipart"
  dependency-version: 10.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: example-deps
- dependency-name: fastify
  dependency-version: 5.12.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.4.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: example-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-09-01 14:54:03 +02:00
..
2026-01-17 21:54:15 +01: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