Skip to content

Commit

Permalink
Merge pull request #231 from jackmcguire1/feat/hype-train-gold-kappa
Browse files Browse the repository at this point in the history
feat: hypetrain is golden kappa train field
  • Loading branch information
nicklaw5 authored Dec 8, 2024
2 parents 0151ccc + 6c69b57 commit 79b5ac7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions eventsub.go
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ type EventSubHypeTrainBeginEvent struct {
LastContribution EventSubContribution `json:"last_contribution"`
StartedAt Time `json:"started_at"`
ExpiresAt Time `json:"expires_at"`
IsGoldenKappaTrain bool `json:"is_golden_kappa_train"`
}

// Data for a hype train progress notification
Expand All @@ -672,6 +673,7 @@ type EventSubHypeTrainProgressEvent struct {
LastContribution EventSubContribution `json:"last_contribution"`
StartedAt Time `json:"started_at"`
ExpiresAt Time `json:"expires_at"`
IsGoldenKappaTrain bool `json:"is_golden_kappa_train"`
}

// Data for a hype train end notification
Expand All @@ -686,6 +688,7 @@ type EventSubHypeTrainEndEvent struct {
StartedAt Time `json:"started_at"`
EndedAt Time `json:"ended_at"`
CooldownEndsAt Time `json:"cooldown_ends_at"`
IsGoldenKappaTrain bool `json:"is_golden_kappa_train"`
}

// Data for a stream online notification
Expand Down

0 comments on commit 79b5ac7

Please sign in to comment.