diff --git a/plugin.py b/plugin.py index 3f3e1b9..0ad0c0c 100644 --- a/plugin.py +++ b/plugin.py @@ -160,7 +160,9 @@ class UnicodeEmoji(callbacks.Plugin): Prints the Unicode emoji as listed here https://gist.github.com/mogad0n/476c3880dc0e0a059ed03efa265e50f7 """ - re = emoji[emote] + re = emoji.get(emote.lower()) + if re is None: + re = emoji['fuck-off'] irc.reply('%s' % re, msg=msg, prefixNick=False ) e = wrap(e, ['text'])