I've checked the interactions.User() class in user.py and its definitely there in the User() that inherits from BaseUser :
@attrs.define(eq=False, order=False, hash=False, kw_only=True)
class User(BaseUser):
...
banner: Optional["Asset"] = attrs.field(repr=False, default=None, metadata=docs("The user's banner"))
avatar_decoration: Optional["Asset"] = attrs.field(
repr=False, default=None, metadata=docs("The user's avatar decoration"))
I'm fetching my User objects like so:
userList:list[interactions.User] = await Message.fetch_reaction(emoji = 🔥, limit=20)
and iterating over each one to check if they have the avatar_decoration property
However when I do:
for user in userList:
if user.avatar_decoration:
do something
the avatar_decoration property is not found.
I'm using the latest version of i.py 5.6.0, I've tried uninstalling and reinstalling. but to no avail. Hope this is a detailed enough explanation.