Class GuildUnbanEvent


  • public class GuildUnbanEvent
    extends GenericGuildEvent
    Indicates that a User was unbanned from a Guild.

    Can be used to retrieve the user who was unbanned (if available) and the guild which they were unbanned from.

    • Constructor Detail

      • GuildUnbanEvent

        public GuildUnbanEvent​(JDA api,
                               long responseNumber,
                               Guild guild,
                               User user)
    • Method Detail

      • getUser

        public User getUser()
        The User who was unbanned
        Possibly fake user.
        Returns:
        The unbanned user