Fixes an error in [p]qrinvite when image_url is not passed (#71)

This commit is contained in:
Flame442 2019-11-25 17:54:01 -05:00 committed by bobloy
parent 7b76bc10e0
commit 8da50e9e6c

View File

@ -50,7 +50,7 @@ class QRInvite(Cog):
invite = invite.code invite = invite.code
if image_url is None: if image_url is None:
image_url = ctx.guild.icon_url image_url = str(ctx.guild.icon_url)
if image_url == "": # Still if image_url == "": # Still
await ctx.send( await ctx.send(