mirror of
https://github.com/danbulant/discord.js
synced 2026-06-09 09:42:22 +00:00
Update Guild.js (#1545)
This commit is contained in:
parent
535a640534
commit
68c25fef28
1 changed files with 2 additions and 1 deletions
|
|
@ -373,7 +373,8 @@ class Guild {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Fetch a collection of banned users in this 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() {
|
fetchBans() {
|
||||||
return this.client.api.guilds(this.id).bans.get().then(bans =>
|
return this.client.api.guilds(this.id).bans.get().then(bans =>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue