Table of Contents

Method ListVoiceRegionsAsync

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

ListVoiceRegionsAsync(CancellationToken)

Gets the voice regions for this guild.

public Task<IReadOnlyList<DiscordVoiceRegion>> ListVoiceRegionsAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

A token to cancel the request.

Returns

Task<IReadOnlyList<DiscordVoiceRegion>>

Voice regions available for this guild.

Exceptions

ServerErrorException

Thrown when Discord is unable to process the request.