mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
docs(Client): fetchVoiceRegions returns a promise
This commit is contained in:
parent
19ef45130b
commit
6cd4c27fae
1 changed files with 1 additions and 1 deletions
|
|
@ -256,7 +256,7 @@ class Client extends BaseClient {
|
|||
|
||||
/**
|
||||
* Obtains the available voice regions from Discord.
|
||||
* @returns {Collection<string, VoiceRegion>}
|
||||
* @returns {Promise<Collection<string, VoiceRegion>>}
|
||||
* @example
|
||||
* client.fetchVoiceRegions()
|
||||
* .then(regions => console.log(`Available regions are: ${regions.map(region => region.name).join(', ')}`))
|
||||
|
|
|
|||
Loading…
Reference in a new issue