Hello,
I use Nightbot for my Twitch Chat and have made several messages with the Timers function that should be sent in 15 minutes each, but when the first message has been sent, they are all sent one after the other in a certain period of time and not every 15 minutes and thus spam my Twitch chat full. I need Help
Do you have every timer set to post every 15 minutes with the same chat line requirement?
Emily
August 1, 2022, 10:33am
3
Hey @littleclone_1 !
Which means all of your timers will stack up if you set all of them at 15 minutes interval.
What are you trying to do?
4 timers: 1st at x:00
, 2nd at x:15
, 3rd at x:30
, and last at x:45
?
If so, or something close, look at the following topics:
Hey @AesDraconis !
Yes, of course you can use timers for that, but you have to get creative!
Simply set it up short enough, I recommend the minimum: 5 minutes, and then when the timer runs have it look at the amount of time you’ve been streaming, and only send a message if it’s the right moment of the stream.
You’ll need to use Pastebin , that way you’ll only set up one timer, and you’ll be able to fit all your messages in it.
Code to put in the timer:
$(eval uptime='$(twitch $(channel) "{{up…
Note: you could do the one below with Pastebin instead of the Quote API, which is preferable:
Yes,
Ok so first go to this link:
https://twitch.center/customapi/quote/generate
And generate your tokens.
They come inbetween token= and &data
The public token is 8 digits and private token is 16 digits.
Then put the tokens in the respective places in the command.
Do not share the private token with anyone.
Ok so here are the commands
The timer:
$(eval a=`$(urlfetch json https://twitch.center/customapi/quote/list?token=PUBLIC_TOKEN&no_id=1)`.split(`,`);T=`$(twitch $(channel) "{{uptim…
Hey @wjone !
Yes you can!
Timers can include JavaScript code, we can use that to evaluate the time and only have an output if it’s 30 minutes past an hour.
First set your timer’s interval to 30 minutes, then here’s the code, replace the YOUR_MESSAGE field:
$(eval t=parseInt('$(time Etc/UTC "m")'); if(t>=30){'YOUR_MESSAGE'})
system
Closed
August 15, 2022, 10:33am
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.