respond with error if broadcast message looks like a command
Value
Block broadcast messages of two words or less and assume they are malformed commands. Like for example i wrote "infor" instead of info and that message was broadcast to my channel.
It seems unlikely that Signalboost Admins would ever want to send one word to the list. Instead Signalboost assumes that the Admin messed up and instead replies with a "Sorry that command wasn't understood. Send INFO or HELP to see a list of the commands I understand."
Wether to limit this to one word or two? I leave that to the implementor.
Behavior
- WHEN an Admin sends only two words (checked by regex, based on spaces?) to their channel and those two words are not recognized as commands.
- THEN instead of relaying the message we send a notification back to the Admin: "Sorry that command wasn't understood. Send INFO or HELP to see a list of the commands I understand."
Edited by aguestuser