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()