mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
docs(Guild): fetchBan returns a promise (#3752)
This commit is contained in:
parent
030d263a9e
commit
8e9e93da1d
1 changed files with 1 additions and 1 deletions
|
|
@ -557,7 +557,7 @@ class Guild extends Base {
|
|||
/**
|
||||
* Fetches information on a banned user from this guild.
|
||||
* @param {UserResolvable} user The User to fetch the ban info of
|
||||
* @returns {BanInfo}
|
||||
* @returns {Promise<BanInfo>}
|
||||
*/
|
||||
fetchBan(user) {
|
||||
const id = this.client.users.resolveID(user);
|
||||
|
|
|
|||
Loading…
Reference in a new issue