Duplicate dictionary elements are not supported in Python, replace
duplicates with a list which is then randomly picked from.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Allow users to query all the available emotes using the new special
emote reference "list". Replace the legacy GitHub link with a reference
to this command.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
c35277bf59 changed the lookup
procedure to lowercase, causing double-flip to no longer be
callable. Align it with the other keys by switching to all
lower-case.
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
To improve the user experience:
- on queries of non-existent emotes, fall back to a default
instead of returning KeyError
- allow lookup of emotes regardless of capitalization
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>