Skip to content

Commit 9fc1aed

Browse files
authored
fix: Add missing attributes to user.pyi stub file (#1445)
* fix: Add missing attributes to user.pyi stub file * fix: Remove reference to obsolete naff mypy plugin in pyproject.toml
1 parent 09d1bec commit 9fc1aed

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

interactions/models/discord/user.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,11 @@ class FakeUserMixin(FakeBaseUserMixin):
6868
public_flags: UserFlags
6969
premium_type: PremiumType
7070
banner: Optional["Asset"]
71+
avatar_decoration: Optional["Asset"]
7172
accent_color: Optional["Color"]
7273
activities: list[Activity]
7374
status: Absent[Status]
75+
_fetched: bool
7476
@classmethod
7577
def _process_dict(cls, data: Dict[str, Any], client: Client) -> Dict[str, Any]: ...
7678
@property
@@ -148,6 +150,7 @@ class Member(FakeUserMixin):
148150
reason: Absent[str] = ...,
149151
) -> dict: ...
150152
async def move(self, channel_id: Snowflake_Type) -> None: ...
153+
async def disconnect(self) -> None: ...
151154
async def edit(
152155
self,
153156
*,

0 commit comments

Comments
 (0)