mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
committed by
Schuyler Cebulskie
parent
76637ed10d
commit
a029999b09
@@ -44,7 +44,7 @@ class TextChannel extends GuildChannel {
|
||||
|
||||
/**
|
||||
* Fetch all webhooks for the channel.
|
||||
* @returns {Promise<Collection<string, Webhook>>}
|
||||
* @returns {Promise<Collection<Snowflake, Webhook>>}
|
||||
*/
|
||||
fetchWebhooks() {
|
||||
return this.client.rest.methods.getChannelWebhooks(this);
|
||||
|
||||
Reference in New Issue
Block a user