Skip to content
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

Add a "getUser" method on the Interaction events #1216

Closed
Azn9 opened this issue May 20, 2024 · 2 comments · Fixed by #1217
Closed

Add a "getUser" method on the Interaction events #1216

Azn9 opened this issue May 20, 2024 · 2 comments · Fixed by #1217
Labels
area/core Related to core module: events, entities, clients, specs enhancement Improvement over an existing feature feature-request Request for a new library feature or behavior good first issue Good for newcomers

Comments

@Azn9
Copy link
Member

Azn9 commented May 20, 2024

To get the user, you need to call event.getInteraction().getUser(). To simplify developers' experience, we could expose the getUser method to the event classes, allowing them to use event.getUser().

@Azn9 Azn9 added enhancement Improvement over an existing feature feature-request Request for a new library feature or behavior area/core Related to core module: events, entities, clients, specs good first issue Good for newcomers labels May 20, 2024
@jasonmokk
Copy link
Contributor

Hi, can I work on this issue?

@Azn9
Copy link
Member Author

Azn9 commented May 21, 2024

Hi, can I work on this issue?

Hey, feel free to do so! Any contribution is welcome and (as far as I know) no one is working on this!

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 enhancement Improvement over an existing feature feature-request Request for a new library feature or behavior good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants