Add lookup for referees whose names are missing #113
Labels
feature
New feature, functionality or request
functional
Functional (i.e. user-visible) work
wont
MoSCoW - this WON'T be implemented
Description of Problem:
When the football-data API returns a referee without a name, I want the bot to lookup up the name in a local directory (using the referee's id, as returned by the API), so I can see the referee's name instead of the default (
[unnamed referee]
).Potential Solutions:
Add a map of referee-id → referee name to the
config.edn
, and use that map if and only if the API response is missing a name (i.e. the API always has precedence).The text was updated successfully, but these errors were encountered: