Skip to content

Commit 79c8c67

Browse files
committed
Fix missing guild icon url
1 parent 6c042d4 commit 79c8c67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def get_guild_icon(
103103
return "https://cdn.discordapp.com/embed/avatars/0.png"
104104
if size is None:
105105
return guild.icon.url
106-
return guild.icon.with_size(size)
106+
return guild.icon.with_size(size).url
107107

108108
def _resolve_snippet(self, name: str) -> typing.Optional[str]:
109109
"""

0 commit comments

Comments
 (0)