Fixes an error in [p]qrinvite when image_url is not passed

pull/71/head
Flame442 5 years ago committed by GitHub
parent 7b76bc10e0
commit aa707f83bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save