Interface GuildBan

All Superinterfaces:
Entity
All Known Implementing Classes:
GuildBanImpl

public interface GuildBan extends Entity
A single guild ban.
Since:
10/6/18.
Author:
amy
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from interface com.mewna.catnip.entity.Entity

    catnip, serialize
  • Method Details

    • user

      @Nonnull @CheckReturnValue User user()
      Returns:
      The user who was banned.
    • reason

      @Nullable @CheckReturnValue String reason()
      Returns:
      The reason for the ban, if provided.