mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
docs: incorrect returns
This commit is contained in:
parent
fcdffcf623
commit
96e88f3cef
1 changed files with 3 additions and 3 deletions
|
|
@ -477,7 +477,7 @@ class Guild {
|
|||
|
||||
/**
|
||||
* Fetch all webhooks for the guild.
|
||||
* @returns {Collection<Snowflake, Webhook>}
|
||||
* @returns {Promise<Collection<Snowflake, Webhook>>}
|
||||
* @example
|
||||
* // Fetch webhooks
|
||||
* guild.fetchWebhooks()
|
||||
|
|
@ -490,7 +490,7 @@ class Guild {
|
|||
|
||||
/**
|
||||
* Fetch available voice regions.
|
||||
* @returns {Collection<string, VoiceRegion>}
|
||||
* @returns {Promise<Collection<string, VoiceRegion>>}
|
||||
* @example
|
||||
* // Fetch voice regions
|
||||
* guild.fetchVoiceRegions()
|
||||
|
|
@ -732,7 +732,7 @@ class Guild {
|
|||
* @example
|
||||
* // Edit the guild AFK channel
|
||||
* guild.setAFKChannel(channel)
|
||||
* .then(g => console.log(`Updated guild AFK channel to ${g.afkChannel}`))
|
||||
* .then(g => console.log(`Updated guild AFK channel to ${g.afkChannel.name}`))
|
||||
* .catch(console.error);
|
||||
*/
|
||||
setAFKChannel(afkChannel, reason) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue