feat: backport (#7786)

This commit is contained in:
Jiralite
2022-04-14 11:48:10 +01:00
committed by GitHub
parent 022e138b9a
commit ab324ea6ae
2 changed files with 2 additions and 2 deletions

View File

@@ -387,7 +387,7 @@ class GuildMemberManager extends CachedManager {
* Unbans a user from the guild. Internally calls the {@link GuildBanManager#remove} method.
* @param {UserResolvable} user The user to unban
* @param {string} [reason] Reason for unbanning user
* @returns {Promise<User>} The user that was unbanned
* @returns {Promise<?User>} The user that was unbanned
* @example
* // Unban a user by id (or with a user/guild member object)
* guild.members.unban('84484653687267328')