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: hypetrain is golden kappa train field #231

Merged
merged 1 commit into from
Dec 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading