fix types for snowflakes (#1156)

* fix types for snowflakes

* Update TextBasedChannel.js
This commit is contained in:
Gus Caplan
2017-02-03 20:37:58 -06:00
committed by Schuyler Cebulskie
parent 0b5eeb08f3
commit 59ff1d99ba
9 changed files with 23 additions and 23 deletions

View File

@@ -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);