DiscordEntity
Base class for Discord entities.
Notes
Inherit it with passing immortal = True
to make the subclass weakreferable.
Properties
created_at
When the entity was created.
Returns
created_at : datetime
Methods
()
__eq__Whether this entity's id is equal as the other's.
()
__ge__Whether this entity's id is greater or equal than the other's.
()
__getattr__Drops a rich attribute error.
()
__gt__Whether this entity's id is greater than the other's.
()
__hash__Returns the has value of the entity, what equals to it's id.
()
__le__Whether this entity's id is less or equal than the other's.
()
__lt__Whether this entity's id is less than the other's.
()
__ne__Whether this entity's id is not equal as the other's.