diff options
| author | Pratyush Desai | 2024-08-26 17:40:01 +0200 |
|---|---|---|
| committer | Pratyush Desai | 2024-08-26 17:40:01 +0200 |
| commit | 4962b3ef3d05905bdf49d36fa2f4977dbd05e8ba (patch) | |
| tree | 189178bd4f7a2775b7b89abaa90720183725fa35 | |
| parent | fbc58b0f7d3587bf81a735f44b46959d73b9e55a (diff) | |
| parent | c35277bf59c021d2baaec5c90d9896201ac9a116 (diff) | |
| download | unicodeemoji-4962b3ef3d05905bdf49d36fa2f4977dbd05e8ba.tar.gz unicodeemoji-4962b3ef3d05905bdf49d36fa2f4977dbd05e8ba.tar.bz2 unicodeemoji-4962b3ef3d05905bdf49d36fa2f4977dbd05e8ba.zip | |
Merge pull request 'More resilient lookup' (#4) from Georg/UnicodeEmoji:query into master
Reviewed-on: https://git.com.de/LimnoriaPlugins/UnicodeEmoji/pulls/4
Reviewed-by: Pratyush Desai <pratyush.desai@liberta.casa>
| -rw-r--r-- | plugin.py | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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']) |
