VoiceRegion
Implementation of the Discord VoiceRegion class in Luau
https://discord.com/developers/docs/resources/voice#voice-region-object
Summary
Properties
Section titled “Properties”Unique ID for the voice region
Name of the voice region
optimal
Section titled “optimal”True if this is an optimal voice region for the current user
deprecated
Section titled “deprecated”Whether this is a deprecated voice region
custom
Section titled “custom”Whether this is a custom voice region (used for events/etc)
Methods
Section titled “Methods”VoiceRegion : sync ( voiceRegionData ) -> ()
Responsible for syncing data to this voice region object. This is typically called by the API when this object is created or updated.
Parameters
| voiceRegionData: VoiceRegionObject |
Functions
Section titled “Functions”VoiceRegion . new ( voiceRegionData ) -> VoiceRegion
Responsible for constructing this class.
Parameters
| voiceRegionData: VoiceRegionObject |
Returns
| VoiceRegion |