Skip to content

Conversation

@yukikamome316
Copy link
Contributor

特定のリアクションが 3 つ以上ついたメッセージを、事前に指定した「ピン留めチャンネル」に転送されるモジュールを作りました。

Starboard Bot の機能を真似しています。

image

@yukikamome316 yukikamome316 requested review from Copilot and syoch July 10, 2025 11:46
@yukikamome316 yukikamome316 self-assigned this Jul 10, 2025
@yukikamome316 yukikamome316 added the enhancement New feature or request label Jul 10, 2025

This comment was marked as outdated.

@yukikamome316 yukikamome316 requested a review from Copilot July 10, 2025 12:01

This comment was marked as outdated.

@yukikamome316 yukikamome316 requested a review from Copilot July 10, 2025 12:11

This comment was marked as outdated.

@yukikamome316 yukikamome316 requested a review from Copilot July 10, 2025 12:16

This comment was marked as outdated.

@yukikamome316 yukikamome316 requested a review from Copilot July 10, 2025 12:29
Copy link

Copilot AI left a 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

@yukikamome316 yukikamome316 requested a review from syoch July 10, 2025 12:57
@syoch
Copy link

syoch commented Jul 10, 2025

よさげ

@yukikamome316 yukikamome316 merged commit ccfed3c into main Jul 11, 2025
2 checks passed
@yukikamome316 yukikamome316 deleted the feat/pinboard branch July 11, 2025 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants