class VoiceAPI

export declare class VoiceAPI

Constructors

constructor(
rest: REST
)

Constructs a new instance of the VoiceAPI class

getVoiceRegions(
options?: Pick<RequestData, 'signal'>
) : Promise<RESTGetAPIVoiceRegionsResult>

Fetches all voice regions

See also: https://discord.com/developers/docs/resources/voice#list-voice-regions