fix: `Asset.__init__()` takes 1 positional argument but 3 were given

This commit is contained in:
Goldy 2024-08-21 19:58:50 +01:00
parent fc74e55111
commit d952d01a91
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ async def get_posts(inter: disnake.CommandInteraction):
embed.set_author( embed.set_author(
name=user.display_name if user.display_name else user.username, name=user.display_name if user.display_name else user.username,
url=f"https://soteria.social/{user.id}", url=f"https://soteria.social/{user.id}",
icon_url=soteria.Asset(sot, user.avatar).url icon_url=soteria.Asset(client = sot, asset_id = user.avatar).url
) )
embed_list.append(embed) embed_list.append(embed)