Nightbot reply when API return nothing

Asked Jun 18, 2024·1 reply·Last activity 2 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.

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)

1 reply

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