fixed an issue with server info

This commit is contained in:
Seaswimmer 2023-03-03 14:11:44 -05:00
parent 07e57e63d1
commit 87187139dc

View file

@ -75,7 +75,7 @@ class Info(commands.Cog):
)
)
if guild.icon:
data.set_author(name=guild.name, url=str(guild.icon_url))
data.set_author(name=guild.name, icon_url=str(guild.icon_url))
data.set_thumbnail(url=str(guild.icon_url))
else:
data.set_author(name=guild.name)