Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Doc94
Copy link
Member

@Doc94 Doc94 commented May 7, 2025

Description: Add abstract methods for the Reaction Events for allow more generic in the use of them

Justification: Close #1306

@Doc94 Doc94 requested a review from Azn9 May 7, 2025 14:59
@Doc94 Doc94 added the area/core Related to core module: events, entities, clients, specs label May 7, 2025
/**
* Represents an event related to a {@link discord4j.core.object.reaction.Reaction} with a user and more data of the reaction.
*/
public abstract class ReactionUserEmojiEvent extends ReactionBaseEmojiEvent {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a fan for this name...
any suggestion?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UserTriggeredEmojiReactionEvent extends AbstractEmojiReactionEvent

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feels strange not start with Reaction
And i wanna avoid the Abstract word based in how the MessageEvent dont use that

@Doc94 Doc94 merged commit 9198737 into Discord4J:master Sep 23, 2025
7 checks passed
@Doc94 Doc94 deleted the feature/reaction-event-and-friends branch September 23, 2025 18:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/core Related to core module: events, entities, clients, specs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create New Abstract ReactionEvent Class

2 participants