docs(Guild): fetchBan returns a promise (#3752)

This commit is contained in:
Jyguy
2020-01-29 12:54:10 -05:00
committed by GitHub
parent 030d263a9e
commit 8e9e93da1d

View File

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