Class GuildBanEvent

  • All Implemented Interfaces:
    GenericEvent

    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 triggering guild.
    Note: This does not directly indicate that a Member is removed from the Guild!

    See Also:
    GuildMemberLeaveEvent