codeforamerica / glossary-bot

A Glossary bot for Slack
MIT License
116 stars 45 forks source link

Gloss Bot shouldn't suggest that you can set definitions for terms that contain equals signs #9

Closed tmaybe closed 9 years ago

tmaybe commented 9 years ago

Instead of:

Sorry, but Gloss Bot has no definition for Dave = Corgi Nut. You can set a definition with the command /gloss set Dave = Corgi Nut = definition

it should say:

Sorry, but Gloss Bot has no definition for Dave = Corgi Nut. Gloss Bot cannot define terms that contain equals signs.

tmaybe commented 9 years ago

or maybe Gloss Bot should assume if there's an = in the command that it was intended to be a set?