Bugfix for <3.6 Python version
sad!
This commit is contained in:
+2
-2
@@ -33,8 +33,8 @@ class General(object):
|
|||||||
!huge :ancilla:
|
!huge :ancilla:
|
||||||
"""
|
"""
|
||||||
id = re.search("\<\:([A-z]*)\:(\d*)\>", arg)
|
id = re.search("\<\:([A-z]*)\:(\d*)\>", arg)
|
||||||
hugemoji = 'https://cdn.discordapp.com/emojis/' + id[2] + '.png'
|
hugemoji = 'https://cdn.discordapp.com/emojis/' + id.group(2) + '.png'
|
||||||
em = discord.Embed(title=id[1], type='photo')
|
em = discord.Embed(title=id.group(1), type='photo')
|
||||||
em.set_image(url=hugemoji)
|
em.set_image(url=hugemoji)
|
||||||
try:
|
try:
|
||||||
yield from ctx.message.delete()
|
yield from ctx.message.delete()
|
||||||
|
|||||||
Reference in New Issue
Block a user