Nightbot reply when API return nothing

Hi !

I have a command that trigger a php on a personal server which send a random reply but not anytime the trigger is triggered.

For example if someont in the chat use the trigger “witf” nightbot have 5% chance to react. So there is 5% the php will return a string otherwise the php return is empty.

It works for a while without any problem, but tonight when an empty reply is sent nightbot say a “[Error Connecting To WebProxy Service]” reply in the chat…

Is there any way to prevent Nightbot to speak when the return is empty ?

Thanks (and sorry for my english)

OK, no more problem, it was Nightbot that was down yesterday…

1 Like