From f5a443fa8ff1b8ce520b15ea2f83c3830ce0f66f Mon Sep 17 00:00:00 2001 From: Joshua Butt Date: Fri, 22 Dec 2017 14:59:21 +1000 Subject: [PATCH] Add support for animated emoji to commands ext EmojiConverter --- discord/ext/commands/converter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/discord/ext/commands/converter.py b/discord/ext/commands/converter.py index 47ce8cc87..267a7d40a 100644 --- a/discord/ext/commands/converter.py +++ b/discord/ext/commands/converter.py @@ -370,7 +370,7 @@ class EmojiConverter(IDConverter): """ @asyncio.coroutine def convert(self, ctx, argument): - match = self._get_id_match(argument) or re.match(r'<:[a-zA-Z0-9\_]+:([0-9]+)>$', argument) + match = self._get_id_match(argument) or re.match(r'$', argument) result = None bot = ctx.bot guild = ctx.guild