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
cancellationTokenCancellationTokenA token to cancel the request.
Returns
- Task<DiscordVoiceState>
The voice state of the current member.