Open karlwilcox opened 2 years ago
So, instead of saying "dark-grey is not a heraldic colour, to use, enable tartan colours in preferences undefined", the bot should say something like "dark-grey is not a heraldic colour. To use, specify drawn with tartan colors
in the blazon or enable in the preferences of the web interface."
At the moment the API has no knowledge of the origin of the request (i.e. whether it came from a page on the Drawshield.net website, the bot, or somewhere else). Hence we can't provide different behaviour based on the origin. We could add a new argument (or possibly use HTTP_REFERER?) but I don't see this as a priority at the moment.
!todo bot should model required syntax when reporting unrecognised colors syntax There is no “enable” keyword. You either enable it in the preferences when using the web version, or “draw using tartan colours” or warhammer colors or whatever.