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

feat: support new mod announcement command #556

Merged
merged 2 commits into from Apr 10, 2022

Conversation

iProdigy
Copy link
Member

@iProdigy iProdigy commented Apr 1, 2022

Prerequisites for Code Changes

  • This pull request follows the code style of the project
  • I have tested this feature

Changes Proposed

  • Create and fire ModAnnouncementEvent
  • Add ITwitchChat#sendAnnouncement

Additional Information

https://twitter.com/TwitchSupport/status/1509634525982302208

@iProdigy iProdigy changed the title feat: fire event on new mod announcement usernotice feat: support new mod announcement command Apr 2, 2022
EventChannel channel = event.getChannel();
EventUser user = event.getUser();
String message = event.getMessage().orElse("");
String color = event.getTagValue("msg-param-color").orElse(AnnouncementColor.PRIMARY.toString());
Copy link
Member Author

Choose a reason for hiding this comment

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

@iProdigy iProdigy merged commit 15d2e34 into develop Apr 10, 2022
@iProdigy iProdigy deleted the feature/irc-mod-announcement branch April 10, 2022 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants