From 15f8b7c869a1f9d61867b2389b2e248d394982d7 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 23 Apr 2025 10:36:08 +0200 Subject: [PATCH 1/2] Fix wrong guild icon This commit fixes displaying the wrong guild icon in the thread_creation_response embed. --- core/thread.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/thread.py b/core/thread.py index 00060ab7f5..8f680d3d5e 100644 --- a/core/thread.py +++ b/core/thread.py @@ -233,7 +233,7 @@ async def send_recipient_genesis_message(): footer = self.bot.config["thread_creation_footer"] embed.set_footer( - text=footer, icon_url=self.bot.get_guild_icon(guild=self.bot.modmail_guild, size=128) + text=footer, icon_url=self.bot.get_guild_icon(guild=self.bot.guild, size=128) ) embed.title = self.bot.config["thread_creation_title"] From d3fbca23df2327244e23f5079775013ca85d5418 Mon Sep 17 00:00:00 2001 From: Martin Date: Wed, 23 Apr 2025 10:46:05 +0200 Subject: [PATCH 2/2] Fix black Fixed black formatting #3371, didnt know it needs to be ran for just changing this small word. --- core/thread.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/core/thread.py b/core/thread.py index 8f680d3d5e..bbc7db3b46 100644 --- a/core/thread.py +++ b/core/thread.py @@ -232,9 +232,7 @@ async def send_recipient_genesis_message(): else: footer = self.bot.config["thread_creation_footer"] - embed.set_footer( - text=footer, icon_url=self.bot.get_guild_icon(guild=self.bot.guild, size=128) - ) + embed.set_footer(text=footer, icon_url=self.bot.get_guild_icon(guild=self.bot.guild, size=128)) embed.title = self.bot.config["thread_creation_title"] if creator is None or creator == recipient: