Object

discord_http.object module

class discord_http.object.PartialBase(*, id: int)[source]

Bases: Snowflake

A base class for partial objects. This class is based on the Snowflae class standard, but with a few extra attributes.

is_partial() bool[source]

bool: Returns True if the object is partial This depends on the class name starting with Partial or not.

class discord_http.object.Snowflake(*, id: int)[source]

Bases: object

A class to represent a Discord Snowflake

property created_at: datetime

The datetime of the snowflake

Type:

datetime