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)


Revision #3
Created Sat, Apr 20, 2019 11:06 AM by DevKurka
Updated Sun, Apr 21, 2019 7:05 AM by DevKurka