Files
discordeno/examples/reaction-roles
dependabot[bot]andFleny 513cf51387 build(deps): bump the example-deps group across 5 directories with 11 updates (#5313)
* build(deps): bump the example-deps group across 5 directories with 11 updates

Bumps the example-deps group with 5 updates in the /examples/advanced directory:

| Package | From | To |
| --- | --- | --- |
| [@discordeno/bot](https://github.com/discordeno/discordeno) | `20.0.0` | `21.0.0` |
| [dd-cache-proxy](https://github.com/AwesomeStickz/dd-cache-proxy) | `2.5.0` | `2.9.0` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |

Bumps the example-deps group with 6 updates in the /examples/beginner directory:

| Package | From | To |
| --- | --- | --- |
| [@discordeno/bot](https://github.com/discordeno/discordeno) | `20.0.0` | `21.0.0` |
| [dd-cache-proxy](https://github.com/AwesomeStickz/dd-cache-proxy) | `2.5.0` | `2.9.0` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |
| [chalk](https://github.com/chalk/chalk) | `5.3.0` | `6.0.0` |

Bumps the example-deps group with 9 updates in the /examples/bigbot directory:

| Package | From | To |
| --- | --- | --- |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.7` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.10.2` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.7.2` | `7.0.2` |
| [chalk](https://github.com/chalk/chalk) | `5.4.1` | `6.0.0` |
| [@fastify/multipart](https://github.com/fastify/fastify-multipart) | `9.0.3` | `10.1.0` |
| [amqplib](https://github.com/amqp-node/amqplib) | `0.10.5` | `2.0.1` |
| [fastify](https://github.com/fastify/fastify) | `5.8.5` | `5.11.3` |
| [@types/amqplib](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/amqplib) | `0.10.6` | `0.10.8` |
| [chokidar](https://github.com/paulmillr/chokidar) | `3.6.0` | `5.0.0` |

Bumps the example-deps group with 5 updates in the /examples/minimal directory:

| Package | From | To |
| --- | --- | --- |
| [@discordeno/bot](https://github.com/discordeno/discordeno) | `20.0.0` | `21.0.0` |
| [dotenv](https://github.com/motdotla/dotenv) | `16.4.5` | `17.4.2` |
| [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) | `22.9.0` | `26.2.0` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.6.3` | `7.0.2` |
| [chalk](https://github.com/chalk/chalk) | `5.3.0` | `6.0.0` |

Bumps the example-deps group with 4 updates in the /examples/reaction-roles directory: [@discordeno/bot](https://github.com/discordeno/discordeno), [dotenv](https://github.com/motdotla/dotenv), [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) and [typescript](https://github.com/microsoft/TypeScript).


Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dd-cache-proxy` from 2.5.0 to 2.9.0
- [Release notes](https://github.com/AwesomeStickz/dd-cache-proxy/releases)
- [Commits](https://github.com/AwesomeStickz/dd-cache-proxy/compare/v2.5.0...v2.9.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

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

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dd-cache-proxy` from 2.5.0 to 2.9.0
- [Release notes](https://github.com/AwesomeStickz/dd-cache-proxy/releases)
- [Commits](https://github.com/AwesomeStickz/dd-cache-proxy/compare/v2.5.0...v2.9.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

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

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `chalk` from 5.3.0 to 6.0.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v5.3.0...v6.0.0)

Updates `dotenv` from 16.4.7 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

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

Updates `typescript` from 5.7.2 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `chalk` from 5.4.1 to 6.0.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v5.3.0...v6.0.0)

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

Updates `amqplib` from 0.10.5 to 2.0.1
- [Release notes](https://github.com/amqp-node/amqplib/releases)
- [Changelog](https://github.com/amqp-node/amqplib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amqp-node/amqplib/compare/v0.10.5...v2.0.1)

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

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

Updates `chokidar` from 3.6.0 to 5.0.0
- [Release notes](https://github.com/paulmillr/chokidar/releases)
- [Commits](https://github.com/paulmillr/chokidar/compare/3.6.0...5.0.0)

Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

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

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

Updates `chalk` from 5.3.0 to 6.0.0
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v5.3.0...v6.0.0)

Updates `@discordeno/bot` from 20.0.0 to 21.0.0
- [Release notes](https://github.com/discordeno/discordeno/releases)
- [Commits](https://github.com/discordeno/discordeno/compare/20.0.0...21.0.0)

Updates `dotenv` from 16.4.5 to 17.4.2
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v16.4.5...v17.4.2)

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

Updates `typescript` from 5.6.3 to 7.0.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Commits](https://github.com/microsoft/TypeScript/commits)

---
updated-dependencies:
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dd-cache-proxy
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dd-cache-proxy
  dependency-version: 2.9.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: chalk
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: chalk
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@fastify/multipart"
  dependency-version: 10.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: amqplib
  dependency-version: 2.0.1
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: fastify
  dependency-version: 5.11.3
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: example-deps
- dependency-name: "@types/amqplib"
  dependency-version: 0.10.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: example-deps
- dependency-name: chokidar
  dependency-version: 5.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: chalk
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@discordeno/bot"
  dependency-version: 21.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: dotenv
  dependency-version: 17.4.2
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: "@types/node"
  dependency-version: 26.2.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
- dependency-name: typescript
  dependency-version: 7.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: example-deps
...

Signed-off-by: dependabot[bot] <support@github.com>

* Update tsconfigs and fixup examples to compile

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <fleny113@outlook.com>
2026-08-14 15:42:06 +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