Skip to content

Commit

Permalink
Remove __slots__ from abc protocols
Browse files Browse the repository at this point in the history
Fix #8354
  • Loading branch information
Rapptz committed Aug 19, 2022
1 parent 641dcf6 commit 5fe54b3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions discord/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ class Snowflake(Protocol):
The model's unique ID.
"""

__slots__ = ()
id: int


Expand Down Expand Up @@ -219,8 +218,6 @@ class User(Snowflake, Protocol):
If the user is a system account.
"""

__slots__ = ()

name: str
discriminator: str
bot: bool
Expand Down

0 comments on commit 5fe54b3

Please sign in to comment.