Skip to content

Commit a9980ba

Browse files
committed
Use correct attr for guild icon with new D.py version
1 parent 868bc01 commit a9980ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ban_appeals/ban_appeals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ async def on_thread_ready(self, thread: Thread, *args) -> None:
304304
else:
305305
footer = self.bot.config["thread_creation_footer"]
306306

307-
embed.set_footer(text=footer, icon_url=self.bot.guild.icon_url)
307+
embed.set_footer(text=footer, icon_url=self.bot.guild.icon.url)
308308
embed.title = "Ban appeal"
309309

310310
await thread.recipient.send(embed=embed)

0 commit comments

Comments
 (0)