Interface Ban


  • public interface Ban
    This class represents a ban.
    • Method Detail

      • getServer

        Server getServer()
        Gets the server of the ban.
        Returns:
        The server of the ban.
      • getUser

        User getUser()
        Gets the banned user.
        Returns:
        The banned user.
      • getReason

        java.util.Optional<java.lang.String> getReason()
        Gets the reason for the ban.
        Returns:
        The reason for the ban.