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

pull/75/head
Flame442 5 years ago committed by bobloy
parent 7b76bc10e0
commit 8da50e9e6c

@ -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