hikari.sessions#
Entities directly related to creating and managing gateway shard sessions.
Module Contents#
- class hikari.sessions.SessionStartLimit[source]#
Used to represent information about the current session start limits.
- property reset_at: datetime.datetime[source]#
Return the approximate time that the IDENTIFY limit resets at.
- reset_after: datetime.timedelta[source]#
When
SessionStartLimit.remaining
will reset for the current bot.After it resets it will be set to
SessionStartLimit.total
.
- class hikari.sessions.GatewayBotInfo[source]#
Used to represent gateway information for the connected bot.
- session_start_limit: SessionStartLimit[source]#
Information about the bot’s current session start limit.