mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 00:23:30 +01:00
fix types for snowflakes (#1156)
* fix types for snowflakes * Update TextBasedChannel.js
This commit is contained in:
committed by
Schuyler Cebulskie
parent
0b5eeb08f3
commit
59ff1d99ba
@@ -301,7 +301,7 @@ class Guild {
|
||||
|
||||
/**
|
||||
* Fetch a collection of banned users in this guild.
|
||||
* @returns {Promise<Collection<string, User>>}
|
||||
* @returns {Promise<Collection<Snowflake, User>>}
|
||||
*/
|
||||
fetchBans() {
|
||||
return this.client.rest.methods.getGuildBans(this);
|
||||
@@ -317,7 +317,7 @@ class Guild {
|
||||
|
||||
/**
|
||||
* Fetch all webhooks for the guild.
|
||||
* @returns {Collection<Webhook>}
|
||||
* @returns {Collection<Snowflake, Webhook>}
|
||||
*/
|
||||
fetchWebhooks() {
|
||||
return this.client.rest.methods.getGuildWebhooks(this);
|
||||
|
||||
Reference in New Issue
Block a user