.unban(reason?)
reason?: string → Promise<void>
Remove this ban (unban the user). Requires Ban Members permission.
await guildBan.unban();Class
Represents a ban in a guild.
Extends Base
new GuildBan(client: Client, data: APIBan & { guild_id?: string }, guildId: string)reason?: string → Promise<void>
Remove this ban (unban the user). Requires Ban Members permission.
await guildBan.unban();