Discore
Show / Hide Table of Contents

Method GetGuildVoiceRegions

| Improve this Doc View Source

GetGuildVoiceRegions(Snowflake)

Gets a list of all voice regions available to the specified guild.

Declaration
public Task<IReadOnlyList<DiscordVoiceRegion>> GetGuildVoiceRegions(Snowflake guildId)
Parameters
Type Name Description
Snowflake guildId
Returns
Type Description
Task<IReadOnlyList<DiscordVoiceRegion>>
Exceptions
Type Condition
DiscordHttpApiException
| Improve this Doc View Source

GetGuildVoiceRegions(DiscordGuild)

Gets a list of all voice regions available to the specified guild.

Declaration
public Task<IReadOnlyList<DiscordVoiceRegion>> GetGuildVoiceRegions(DiscordGuild guild)
Parameters
Type Name Description
DiscordGuild guild
Returns
Type Description
Task<IReadOnlyList<DiscordVoiceRegion>>
Exceptions
Type Condition
ArgumentNullException
DiscordHttpApiException
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX