mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 11:33:30 +01:00
docs(Guild): fetchBan returns a promise (#3752)
This commit is contained in:
@@ -557,7 +557,7 @@ class Guild extends Base {
|
|||||||
/**
|
/**
|
||||||
* Fetches information on a banned user from this guild.
|
* Fetches information on a banned user from this guild.
|
||||||
* @param {UserResolvable} user The User to fetch the ban info of
|
* @param {UserResolvable} user The User to fetch the ban info of
|
||||||
* @returns {BanInfo}
|
* @returns {Promise<BanInfo>}
|
||||||
*/
|
*/
|
||||||
fetchBan(user) {
|
fetchBan(user) {
|
||||||
const id = this.client.users.resolveID(user);
|
const id = this.client.users.resolveID(user);
|
||||||
|
|||||||
Reference in New Issue
Block a user