WildPHP / irc-bot

A simple and modular PHP IRC bot
MIT License
84 stars 24 forks source link

Allow a more permissive trigger #56

Closed Xenthys closed 8 years ago

Xenthys commented 8 years ago

Hello! The regex used here seems to only allow a comma or a semicolon after the bot's name. As some people are using a custom separator, I think it could be a good idea to allow every symbol that isn't a letter or a number. The regex should then be [^a-zA-Z0-9] to match anything else. Thanks for reading!

TimTims commented 8 years ago

I'll take a look at it, thanks for the suggestion :smile: