Class GuildBanEvent

All Implemented Interfaces:

public class GuildBanEvent extends GenericGuildEvent
Indicates that a User was banned from a Guild.

Can be used to retrieve the user who was banned (if available) and the triggering guild.
Note: This does not directly indicate that a Member is removed from the Guild!


This event requires the GUILD_MODERATION intent to be enabled.

See Also: