You are reading the documentation for the next version of discord.js. Documentation for v13/v14+ has been moved to old.discordjs.dev

VoiceAPI

export declare class VoiceAPI
export declare class VoiceAPI

No summary provided.

constructor(rest)
Constructs a new instance of the VoiceAPI class
NameTypeOptionalDescription
restRESTNoNone
getVoiceRegions(options?):Promise<RESTGetAPIVoiceRegionsResult>
NameTypeOptionalDescription
optionsPick<RequestData, 'signal'>YesThe options for fetching the voice regions