mirror of
https://github.com/danbulant/discord.js
synced 2026-06-19 14:41:36 +00:00
Webpack build for branch master: 68c25fef28
This commit is contained in:
parent
7b21bb9dbe
commit
22d52cfeb9
1 changed files with 2 additions and 1 deletions
|
|
@ -5680,7 +5680,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 =>
|
||||
|
|
|
|||
Loading…
Reference in a new issue