Remove __slots__ from abc protocols

Fix #8354
This commit is contained in:
Rapptz 2022-08-19 19:09:51 -04:00
parent 641dcf61a5
commit 5fe54b3ae6

View File

@ -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