The id of the guild this ban belongs to.
A user-provided reason for the ban. If no reason was provided, the value will be ""
, an empty string.
The user banned from the guild.
Deletes the guild ban and un-bans the associated user from the guild.
Retrieves the discord.Guild associated with this ban.
If you only need the guild id, it's provided via the guildId
property.
Generated using TypeDoc
An object that represents a ban on a guild.
Note: If you need to ban a member or create a new ban, use discord.Guild.createBan.