sidequest_common.schemas.discord_live#

Live Discord presence/voice-channel status, counts only (never names or ids).

Classes#

DiscordLive

API -> website (public): the guild's live status, or empty if the bot hasn't reported recently.

DiscordLiveReport

Bot -> API: what the guild looks like right now.

VoiceChannelCount

One voice/stage channel the bot reported on.

Module Contents#

class sidequest_common.schemas.discord_live.DiscordLive#

Bases: pydantic.BaseModel

API -> 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#
voice: list[VoiceChannelCount]#
class sidequest_common.schemas.discord_live.DiscordLiveReport#

Bases: pydantic.BaseModel

Bot -> API: what the guild looks like right now.

members: int | None#
online: int | None#
voice: list[VoiceChannelCount]#
class sidequest_common.schemas.discord_live.VoiceChannelCount#

Bases: pydantic.BaseModel

One voice/stage channel the bot reported on.

count: int#
name: str#