mirror of
https://github.com/nuttylmao/nutty.gg.git
synced 2026-09-18 19:50:58 -04:00
Payload changes YUCK YUCK YUCK!
This commit is contained in:
@@ -146,7 +146,7 @@ client.on('Twitch.UpcomingAd', (response) => {
|
|||||||
/////////////////////
|
/////////////////////
|
||||||
|
|
||||||
function TwitchAdRun(data) {
|
function TwitchAdRun(data) {
|
||||||
const duration = data.length_seconds;
|
const duration = data.lengthSeconds ?? data.length_seconds;
|
||||||
|
|
||||||
// Unset the upcoming ad countdown warning
|
// Unset the upcoming ad countdown warning
|
||||||
upcomingAdWarningStartDelay = null;
|
upcomingAdWarningStartDelay = null;
|
||||||
|
|||||||
Reference in New Issue
Block a user