Skip to content

Commit

Permalink
damn pylance inline flags
Browse files Browse the repository at this point in the history
  • Loading branch information
spifory committed Jul 10, 2023
1 parent 0e53c99 commit 783a71f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nextcord/invite.py
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ def __init__(
PartialAppInfo(data=application, state=state) if application else None
)

self._flags: InviteFlags | int | Any = data.get("flags", 0)
self._flags = data.get("flags", 0)

@classmethod
def from_incomplete(cls, *, state: ConnectionState, data: InvitePayload) -> Self:
Expand Down

0 comments on commit 783a71f

Please sign in to comment.