Class Guild.MetaData

java.lang.Object
net.dv8tion.jda.api.entities.Guild.MetaData
Enclosing interface:
Guild

public static class Guild.MetaData extends Object
Meta-Data for a Guild
Since:
4.2.0
  • Constructor Details

    • MetaData

      public MetaData(int memberLimit, int presenceLimit, int approximatePresences, int approximateMembers)
  • Method Details

    • getMemberLimit

      public int getMemberLimit()
      The active member limit for this guild.
      This limit restricts how many users can be member for this guild at once.
      Returns:
      The member limit
    • getPresenceLimit

      public int getPresenceLimit()
      The active presence limit for this guild.
      This limit restricts how many users can be connected/online for this guild at once.
      Returns:
      The presence limit
    • getApproximatePresences

      public int getApproximatePresences()
      The approximate number of online members in this guild.
      Returns:
      The approximate presence count
    • getApproximateMembers

      public int getApproximateMembers()
      The approximate number of members in this guild.
      Returns:
      The approximate member count