Update Guild.js (#1545)

This commit is contained in:
Gus Caplan
2017-05-30 08:34:06 -05:00
committed by Crawl
parent 535a640534
commit 68c25fef28

View File

@@ -373,7 +373,8 @@ class Guild {
/**
* Fetch a collection of banned users in this guild.
* @returns {Promise<Collection<Snowflake, User>>}
* The returned collection contains user objects keyed under `user` and reasons keyed under `reason`.
* @returns {Promise<Collection<Snowflake, Object>>}
*/
fetchBans() {
return this.client.api.guilds(this.id).bans.get().then(bans =>