sidequest_common.schemas.discord_live#
Live Discord presence/voice-channel status, counts only (never names or ids).
Classes#
API -> website (public): the guild's live status, or empty if the bot hasn't reported recently. |
|
Bot -> API: what the guild looks like right now. |
|
One voice/stage channel the bot reported on. |
Module Contents#
- class sidequest_common.schemas.discord_live.DiscordLive#
Bases:
pydantic.BaseModelAPI -> website (public): the guild’s live status, or empty if the bot hasn’t reported recently.
- members: int | None#
- online: int | None#
- reported_at: datetime.datetime | None#
When the bot last reported.
- voice: list[VoiceChannelCount]#
- class sidequest_common.schemas.discord_live.DiscordLiveReport#
Bases:
pydantic.BaseModelBot -> API: what the guild looks like right now.
- members: int | None = None#
Guild.approximate_member_count.
- online: int | None = None#
Guild.approximate_presence_count(Noneif the fetch failed).
- voice: list[VoiceChannelCount]#
Every voice/stage channel
@everyonecan view, zero counts included, in Discord’s channel order.