Method ListVoiceRegionsAsync
- Namespace
- DisCatSharp
- Assembly
- DisCatSharp.dll
ListVoiceRegionsAsync(CancellationToken)
Gets a list of voice regions.
public Task<IReadOnlyList<DiscordVoiceRegion>> ListVoiceRegionsAsync(CancellationToken cancellationToken = default)
Parameters
cancellationTokenCancellationTokenA token to cancel the request.
Returns
Exceptions
- ServerErrorException
Thrown when Discord is unable to process the request.