Skip to content

MemberVoiceState

This data type describes member voice channel connectivity state.

Properties

PropertyTypeDescription
inChannelBooleantrue if this Member is currently in channel
channelVoiceChannelThe current voice channel that the Member is in
mutedBooleantrue if whether the Member is muted, either by themselves or by an admin
selfMutedBooleantrue if this Member is muted by themselves
guildMutedBooleantrue if this Member is muted by an admin
deafenedBooleantrue if whether the Member is deafened, either by themselves or by an admin
selfDeafenedBooleantrue if this Member is deafened by themselves
guildDeafenedBooleantrue if this Member is deafened by an admin
sendingVideoBooleantrue if this Member has their camera on
streamingBooleantrue if this Member is currently streaming
suppressedBooleantrue if this Member is suppressed (is in AFK channel or stage listener)

Methods

approveSpeaker()

Promotes this Member as speaker and returns true if success. The "voice mute others" permission is required for this method to work.

Returns: Boolean

Warning! Quota

Following methods have shared quota and can only be invoked 1 times in the same template:

  • approveSpeaker
  • declineSpeaker
  • inviteSpeaker

declineSpeaker()

Rejects this Member request to speak and returns true if success. The "voice mute others" permission is required for this method to work.

Returns: Boolean

Warning! Quota

Following methods have shared quota and can only be invoked 1 times in the same template:

  • approveSpeaker
  • declineSpeaker
  • inviteSpeaker

inviteSpeaker()

Invites this member to become a speaker. The "voice mute others" permission is required for this method to work.

Returns: Boolean

Warning! Quota

Following methods have shared quota and can only be invoked 1 times in the same template:

  • approveSpeaker
  • declineSpeaker
  • inviteSpeaker

All rights sniffed.