Merge pull request 'Implement list' (#7) from Georg/UnicodeEmoji:list into master
Reviewed-on: #7
This commit is contained in:
commit
b6a02bef56
@ -157,9 +157,13 @@ class UnicodeEmoji(callbacks.Plugin):
|
|||||||
def e(self, irc, msg, args, emote):
|
def e(self, irc, msg, args, emote):
|
||||||
"""<emote>
|
"""<emote>
|
||||||
|
|
||||||
Prints the Unicode emoji as listed here https://gist.github.com/mogad0n/476c3880dc0e0a059ed03efa265e50f7
|
Prints the Unicode emoji as listed with `!e list`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
if emote == 'list':
|
||||||
|
irc.reply(', '.join(emoji.keys()), msg=msg, prefixNick=False)
|
||||||
|
return
|
||||||
|
|
||||||
re = emoji.get(emote.lower())
|
re = emoji.get(emote.lower())
|
||||||
if re is None:
|
if re is None:
|
||||||
re = emoji['fuck-off']
|
re = emoji['fuck-off']
|
||||||
|
Loading…
Reference in New Issue
Block a user