Browse Source

Remove __slots__ from abc protocols

Fix #8354
pull/10109/head
Rapptz 3 years ago
committed by dolfies
parent
commit
da30ba1fbb
  1. 3
      discord/abc.py

3
discord/abc.py

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

Loading…
Cancel
Save