Zirak / SO-ChatBot

Other
124 stars 62 forks source link

!!afk, (afk+comma) turns command into a weasel response. #278

Closed rlemon closed 8 years ago

rlemon commented 8 years ago

I noticed this when Benji went afk with a comma and the bot responded with 'no'.

It isn't a command as far as I can tell ( no one fucking with me ).

Zirak commented 8 years ago

Commas are valid in command names (I think any non-space character is) so the bot tried to find an afk, (notice the comma) command. Failing to find any, it went on to match listeners, and the weasel happily matched am I beautiful.

The following would also match:

!!listcommands, am I beautiful?

So it's not a bug, it's a feature :D