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: EventSub integration #2295

Merged
merged 6 commits into from
Dec 17, 2023
Merged

feat: EventSub integration #2295

merged 6 commits into from
Dec 17, 2023

Conversation

zunderscore
Copy link
Collaborator

@zunderscore zunderscore commented Dec 16, 2023

Description of the Change

This is a MASSIVE change. It introduces EventSub support for Firebot. It includes the following changes:

New Actions (Effects)

  • Create Poll
  • End Poll
  • Create Prediction
  • Lock Prediction
  • Resolve Prediction
  • Cancel Prediction

New Events

  • Channel Goal Started
  • Channel Goal Progress
  • Channel Goal Ended
  • Channel Poll Started
  • Channel Poll Progress
  • Channel Poll Ended
  • Channel Prediction Started
  • Channel Prediction Progress
  • Channel Prediction Locked
  • Channel Prediction Ended
  • Hype Train Started
  • Hype Train Progress
  • Hype Train Ended
  • Stream Started
  • Stream Ended
  • Twitch Charity Campaign Started
  • Twitch Charity Donation
  • Twitch Charity Campaign Progress
  • Twitch Charity Campaign Ended
  • Twitch Shoutout Sent
  • Twitch Shoutout Received

New Variables

  • $charityCampaignGoal
  • $charityCampaignTotal
  • $charityDescription
  • $charityLogo
  • $charityName
  • $charityWebsite
  • $hypeTrainLevel
  • $hypeTrainPercent
  • $pollWinningChoiceName
  • $pollWinningChoiceVotes
  • $preditionWinningOutcomeName
  • $viewerCount

Other changes

  • Events previously triggered via manual polling now available via EventSub:
    • Follow
  • Events previously triggered via Chat now available via EventSub:
    • Raid
  • Events previously triggered via PubSub now available via EventSub:
    • Cheers
    • Channel Reward Redemptions
    • Ban
    • Timeout
    • Unban
  • Updated variables
    • $donationAmount now available for Twitch charity campaigns
    • $donationFrom now available for Twitch charity campaigns
    • $moderator now available for Twitch Shoutout Sent event

Applicable Issues

#1265, #1580, #1750, #1960, Partial #2087, #2215

Testing

Each individual piece has been tested progressively over the course of the last year.

Screenshots

please no.

@zunderscore zunderscore marked this pull request as ready for review December 16, 2023 22:50
@zunderscore zunderscore requested a review from ebiggz as a code owner December 16, 2023 22:50
@ebiggz
Copy link
Member

ebiggz commented Dec 17, 2023

straight bonkers

@zunderscore zunderscore merged commit 798c84d into v5 Dec 17, 2023
2 checks passed
@zunderscore zunderscore deleted the v5-eventsub branch December 17, 2023 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants