fixed issue with guild icons
This commit is contained in:
parent
45ecf3eecb
commit
2f020d3425
1 changed files with 3 additions and 3 deletions
|
@ -75,8 +75,8 @@ class Info(commands.Cog):
|
|||
)
|
||||
)
|
||||
if guild.icon:
|
||||
data.set_author(name=guild.name, url=guild.icon)
|
||||
data.set_thumbnail(url=guild.icon)
|
||||
data.set_author(name=guild.name, url=str(guild.icon_url))
|
||||
data.set_thumbnail(url=str(guild.icon_url))
|
||||
else:
|
||||
data.set_author(name=guild.name)
|
||||
else:
|
||||
|
@ -163,7 +163,7 @@ class Info(commands.Cog):
|
|||
else None,
|
||||
)
|
||||
if guild.icon:
|
||||
data.set_thumbnail(url=guild.icon)
|
||||
data.set_thumbnail(url=str(guild.icon_url))
|
||||
data.add_field(name=_("Members:"), value=member_msg)
|
||||
data.add_field(
|
||||
name=_("Channels:"),
|
||||
|
|
Loading…
Reference in a new issue