mirror of https://codeberg.org/soteria/sox.git
fix: `Asset.__init__()` takes 1 positional argument but 3 were given
This commit is contained in:
parent
fc74e55111
commit
d952d01a91
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue