Class Guild.MetaData

  • Enclosing interface:
    Guild

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

      Constructors 
      Constructor Description
      MetaData​(int memberLimit, int presenceLimit, int approximatePresences, int approximateMembers)  
    • Constructor Detail

      • MetaData

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

      • 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