Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new reaction-forwarder module that mimics Starboard Bot functionality by forwarding messages with specific reactions to a designated channel. The module monitors messages for configured reactions and forwards them to a "pin channel" when they reach a threshold (3+ reactions as mentioned in the description).
- Implements a complete reaction forwarding system with enable/disable commands
- Adds Discord.js partials support for handling partial message reactions
- Includes configuration via environment variables and slash commands
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| modules/reaction-forwarder/reaction-forwarder.ts | Main module implementation with reaction handling, message forwarding, and slash commands |
| modules/reaction-forwarder/constants.ts | Configuration constants, interface definitions, and default settings |
| modules/reaction-forwarder/index.ts | Module export file |
| modules/index.ts | Adds reaction-forwarder to module exports |
| main.ts | Adds required Discord.js intents and partials for reaction handling |
| README.md | Documentation updates for the new module |
| .env.example | Adds environment variable example for channel configuration |
This reverts commit cee95c4.
syoch
reviewed
Jul 10, 2025
syoch
approved these changes
Jul 10, 2025
|
よさげ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
特定のリアクションが 3 つ以上ついたメッセージを、事前に指定した「ピン留めチャンネル」に転送されるモジュールを作りました。
Starboard Bot の機能を真似しています。