Browse Source

Remove created_at from Snowflake Protocol

pull/7448/head
Josh 4 years ago
committed by GitHub
parent
commit
d09993d7e7
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      discord/abc.py

5
discord/abc.py

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

Loading…
Cancel
Save