NelsonLeDuc / CalmanBot

MIT License
4 stars 0 forks source link

Handling leading whitespace and other characters #4

Closed magicspacekiwi closed 8 years ago

magicspacekiwi commented 8 years ago

If whitespace precedes a mention, a response is not generated.

Should CalmanBot simply trim the whitespace around messages before attempting to parse them, or should the bot respond even when mentioned within a message, parsing characters that come after the mention?

For example, "we need more @calmanbot bacon" would be parsed with "bacon" as the message.

NelsonLeDuc commented 8 years ago

Fixed in v1.2.6