Package net.dv8tion.jda.api.entities
Class Guild.MetaData
java.lang.Object
net.dv8tion.jda.api.entities.Guild.MetaData
- Enclosing interface:
Guild
Meta-Data for a Guild
- Since:
- 4.2.0
-
Constructor Summary
ConstructorDescriptionMetaData
(int memberLimit, int presenceLimit, int approximatePresences, int approximateMembers) -
Method Summary
Modifier and TypeMethodDescriptionint
The approximate number of members in this guild.int
The approximate number of online members in this guild.int
The active member limit for this guild.int
The active presence limit for this guild.
-
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
-