VoiceState

Types

Link copied to clipboard

Functions

Link copied to clipboard
open suspend fun requestVoiceRegion(): CompletableDeferred<List<VoiceState.VoiceRegion>>

Requests the voice region of this voice state.

Link copied to clipboard
abstract override fun toString(): String

Converts this entity to a string using the io.github.ydwk.ydwk.util.EntityToStringBuilder.

Properties

Link copied to clipboard
abstract val channel: GuildVoiceChannel?

The channel this voice state is for.

Link copied to clipboard
abstract val guild: Guild?

The guild this voice state is for.

Link copied to clipboard
abstract val isDeafened: Boolean

Whether this voice state is deafened.

Link copied to clipboard
abstract val isMuted: Boolean

Whether this voice state is muted.

Link copied to clipboard
abstract val isSelfDeafened: Boolean

Whether this voice state is self deafened.

Link copied to clipboard
abstract val isSelfMuted: Boolean

Whether this voice state is self muted.

Link copied to clipboard
abstract val isStreaming: Boolean

Whether this voice state is streaming.

Link copied to clipboard
abstract val isSuppressed: Boolean

Whether this voice state is suppressed.

Link copied to clipboard
abstract val json: JsonNode

The json representation of this entity.

Link copied to clipboard
abstract val member: Member?

The guild member this voice state is for.

Link copied to clipboard

The time at which the user requested to speak.

Link copied to clipboard
abstract val sessionId: String

The session id of this voice state.

Link copied to clipboard
abstract val user: User?

The user this voice state is for.

Link copied to clipboard
abstract val yde: YDE

The main YDE instance.