From ca5705f1605d61010b5e2ba465013945f351b4ba Mon Sep 17 00:00:00 2001 From: Mark Hoekveen Date: Wed, 22 Aug 2018 17:13:44 +0200 Subject: [PATCH] Bugfix for <3.6 Python version sad! --- General.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/General.py b/General.py index d0690ad..72e85de 100644 --- a/General.py +++ b/General.py @@ -33,8 +33,8 @@ class General(object): !huge :ancilla: """ id = re.search("\<\:([A-z]*)\:(\d*)\>", arg) - hugemoji = 'https://cdn.discordapp.com/emojis/' + id[2] + '.png' - em = discord.Embed(title=id[1], type='photo') + hugemoji = 'https://cdn.discordapp.com/emojis/' + id.group(2) + '.png' + em = discord.Embed(title=id.group(1), type='photo') em.set_image(url=hugemoji) try: yield from ctx.message.delete()