aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh <[email protected]>2021-08-22 19:28:10 +1000
committerGitHub <[email protected]>2021-08-22 05:28:10 -0400
commitd09993d7e786dc902ebc0ca5c144425a706342a3 (patch)
tree9cf3b99ad388173466d8153240af2f5bbae973bc
parentFix webhook typings and use PartialMessageable instead of Object (diff)
downloaddiscord.py-d09993d7e786dc902ebc0ca5c144425a706342a3.tar.xz
discord.py-d09993d7e786dc902ebc0ca5c144425a706342a3.zip
Remove created_at from Snowflake Protocol
-rw-r--r--discord/abc.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 54f776c2..ab38c35c 100644
--- a/discord/abc.py
+++ b/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):