mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 04:17:16 +00:00
Remove created_at from Snowflake Protocol
This commit is contained in:
parent
69f578abdc
commit
d09993d7e7
@ -122,11 +122,6 @@ class Snowflake(Protocol):
|
|||||||
__slots__ = ()
|
__slots__ = ()
|
||||||
id: int
|
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
|
@runtime_checkable
|
||||||
class User(Snowflake, Protocol):
|
class User(Snowflake, Protocol):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user