mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-05 17:36:15 +00:00
Remove created_at from Snowflake Protocol
This commit is contained in:
@ -122,11 +122,6 @@ class Snowflake(Protocol):
|
||||
__slots__ = ()
|
||||
id: int
|
||||
|
||||
@property
|
||||
def created_at(self) -> datetime:
|
||||
""":class:`datetime.datetime`: Returns the model's creation time as an aware datetime in UTC."""
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
@runtime_checkable
|
||||
class User(Snowflake, Protocol):
|
||||
|
Reference in New Issue
Block a user