MessagePinReactionHandler.ts #1

Open
Harry wants to merge 6 commits from Harry/crv2-MessagePinReactionHandler.ts:master into master

6 Commits (master)

Author SHA1 Message Date
Harry 54845033f1 Update discord/events/MessageReactionRemove.ts
Switched error messages to ephermal: true

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 20:34:31 -05:00
Harry 65f4bd92dc Update discord/events/MessageReactionAdd.ts
switched error messages to Ephemeral: true

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 20:33:31 -05:00
Harry e6dae3ae48 MessageReactionAdd.ts
Pins a message when a partner adds a 📌 reaction to it

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 18:02:28 -05:00
Harry 9374a1bca6 MessageReactionRemove.ts
Unpins a message when a partner removes the 📌 reaction from it

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 18:00:58 -05:00
Harry b37ac915c2 MessageReactionAdd.ts
Pins messages in a channel when a partner adds a 📌 reaction

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 17:54:35 -05:00
Harry 6f561f3b44 MessagePinReactionHandler.ts
/**
 * Handles both 'messageReactionAdd' and 'messageReactionRemove' events.
 * When a reaction is added or removed:
 * - If the reaction matches the specified emoji and the user has the required role,
 *   the message will be pinned or unpinned in the channel accordingly.
 */

Signed-off-by: Harry <harry@harryrosestudios.com>
2024-12-20 02:12:27 -05:00