From 8da50e9e6cbea3e696cb0925c33989861428fb96 Mon Sep 17 00:00:00 2001 From: Flame442 <34169552+Flame442@users.noreply.github.com> Date: Mon, 25 Nov 2019 17:54:01 -0500 Subject: [PATCH] Fixes an error in [p]qrinvite when image_url is not passed (#71) --- qrinvite/qrinvite.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qrinvite/qrinvite.py b/qrinvite/qrinvite.py index b57b84a..0960c14 100644 --- a/qrinvite/qrinvite.py +++ b/qrinvite/qrinvite.py @@ -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(