Timer not processing all of aliased custom command

Asked May 25, 2020·2 replies·Last activity 6 years ago·Open in Discord ↗
Archived from the original community forum
Things may have changed since it was written. Still stuck? Ask the community on Discord.

I am attempting to get NightBot to run a custom command via timer. If I use the command in my Twitch chat it works like it should, but when the timer calls it only the first message is displayed and the rest doesn't show up.

Here is the command code I am using:
$(urlfetch https://vxrl.xyz/smm/Welcome%20to%20the%20stream!%20%20You%20can%20find%20me%…)

It should display this in my chat:
Nightbot: Welcome to the stream! You can find me on the SM sites below!
Nightbot: YouTube: tinyurl.com/LMPYT
Nightbot: Twitch: tinyurl.com/LMPTwch
Nightbot: Twitter: tinyurl.com/LMPTwit
Nightbot: Pateron: tinyurl.com/LMPPat

But just the first "welcome" message is displayed when it is called from the timer.

2 replies

Hey @Bold Lobster!

After some testing, it seems like it's not possible.
What I think happens is that Nightbot's API for sending multiple message only works with classic messages, but not with timers as they are treated differently.

It looks like there was a bug with the response URL header Nightbot was providing when called from a timer. This should be fixed.