Browse Source
Remove created_at from Snowflake Protocol
pull/7448/head
Josh
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
5 deletions
-
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): |
|
|
|