Table of Contents

Method GetCurrentMemberVoiceStateAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

GetCurrentMemberVoiceStateAsync(CancellationToken)

Gets the current guild member's voice state.

public Task<DiscordVoiceState?> GetCurrentMemberVoiceStateAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<DiscordVoiceState>

The voice state of the current member.