-
Notifications
You must be signed in to change notification settings - Fork 2
feat: reaction-forwarder を追加 #9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
|
よさげ |
特定のリアクションが 3 つ以上ついたメッセージを、事前に指定した「ピン留めチャンネル」に転送されるモジュールを作りました。
Starboard Bot の機能を真似しています。