Browse Source

Remove __slots__ from abc protocols

Fix #8354
pull/8357/head
Rapptz 3 years ago
parent
commit
5fe54b3ae6
  1. 3
      discord/abc.py

3
discord/abc.py

@ -191,7 +191,6 @@ class Snowflake(Protocol):
The model's unique ID.
"""
__slots__ = ()
id: int
@ -219,8 +218,6 @@ class User(Snowflake, Protocol):
If the user is a system account.
"""
__slots__ = ()
name: str
discriminator: str
bot: bool

Loading…
Cancel
Save