From 522f37586d69e8a91c2ba6c723a73a874ce7e52f Mon Sep 17 00:00:00 2001 From: Abigail Gold Date: Mon, 11 Nov 2019 21:13:43 -0500 Subject: [PATCH 1/2] show bot's profile picture in info command --- cogs/basecog.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/basecog.py b/cogs/basecog.py index a03b538..9485142 100644 --- a/cogs/basecog.py +++ b/cogs/basecog.py @@ -31,6 +31,7 @@ class BaseCog(commands.Cog): timestamp=datetime.utcnow()) embed.set_footer(text=ctx.author.name, icon_url=str(ctx.author.avatar_url)) + embed.set_thumbnail(url=str(self.bot.user.avatar_url)) embed = embed.add_field(name="Authors", value=", ".join(self.gs.info.authors)) embed = embed.add_field(name="Contributing", value=self.gs.info.contributing) embed = embed.add_field(name="License", value=self.gs.info.license) From e4fe3480e9503525d3b0d1435c567bb8ecdbdc26 Mon Sep 17 00:00:00 2001 From: Abigail Gold Date: Mon, 11 Nov 2019 21:20:25 -0500 Subject: [PATCH 2/2] and the same to QRZ images --- cogs/qrzcog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/qrzcog.py b/cogs/qrzcog.py index 43ae3d7..d20f312 100644 --- a/cogs/qrzcog.py +++ b/cogs/qrzcog.py @@ -71,7 +71,7 @@ class QRZCog(commands.Cog): embed.set_footer(text=ctx.author.name, icon_url=str(ctx.author.avatar_url)) if 'image' in resp_data: - embed.set_image(url=resp_data['image']) + embed.set_thumbnail(url=resp_data['image']) data = qrz_process_info(resp_data)