Go to file
2026-08-13 19:06:22 +09:00
src fix: restore compact source id display 2026-08-13 19:06:22 +09:00
.dockerignore feat: modernize and harden bot deployment 2026-08-13 18:31:06 +09:00
.gitignore feat: modernize and harden bot deployment 2026-08-13 18:31:06 +09:00
default.env feat: modernize and harden bot deployment 2026-08-13 18:31:06 +09:00
deno.json fix: refresh complete reaction state 2026-08-13 18:52:47 +09:00
deno.lock feat: modernize and harden bot deployment 2026-08-13 18:31:06 +09:00
Dockerfile feat: modernize and harden bot deployment 2026-08-13 18:31:06 +09:00
README.md feat: modernize and harden bot deployment 2026-08-13 18:31:06 +09:00

discord-reaction-award

A Discord bot that republishes highly reacted messages into an award channel. Each user's first reaction contributes 1 point; additional emoji from the same user have diminishing weight (1/3, 1/5, ...).

Configure Discord

The bot needs the Guilds, Guild Messages, Guild Message Reactions, and privileged Message Content gateway intents. It needs these channel permissions:

  • View Channel
  • Read Message History
  • Send Messages
  • Embed Links

Set TOKEN and CLIENT_ID in .env, then start the bot:

cp default.env .env
deno task start

Global slash commands are registered at startup. Use /config output first, followed by the optional channel list, emoji list, and score settings. Server owners and administrators can run configuration commands.

The runtime configuration is stored in config.json. Set CONFIG_PATH to move it elsewhere. Both .env and config.json are intentionally excluded from Git and Docker build contexts.

Develop

deno task check
docker build -t discord-reaction-award .