Removed dead 'serialize' method from Snowflake type.
@@ -45,7 +45,7 @@ class Entity(abc.ABC):
"""The client components that models may use for procedures."""
-class Snowflake(int, marshaller.Serializable):
+class Snowflake(int):
"""A concrete representation of a unique identifier for an object on Discord.
This object can be treated as a regular `int` for most purposes.
@@ -81,10 +81,6 @@ class Snowflake(int, marshaller.Serializable):
"""Increment of Discord's system when this object was made."""
return self & 0xFFF
- def serialize(self) -> str:
- """Generate a JSON-friendly representation of this object."""
- return str(self)
-
@classmethod
def from_datetime(cls, date: datetime.datetime) -> Snowflake:
"""Get a snowflake object from a datetime object."""
