fetchGuildVoiceRegions


General

fetchGuildVoiceRegions fetches the voice regions available for the guild.


Usage

Client:fetchGuildVoiceRegions()
Returns: <array> data

Data array contains VoiceRegion objects inside.


Limitations

See discordGuild PATCH.


Example

local voiceRegions = {}
for id in pairs(Client:fetchGuildVoiceRegions()) do
	table.insert(voiceRegions, id)
end
print(#voiceRegions)

Back to top