Package net.dv8tion.jda.api.entities
Class Guild.MetaData
- java.lang.Object
-
- net.dv8tion.jda.api.entities.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getApproximateMembers()
The approximate number of members in this guild.int
getApproximatePresences()
The approximate number of online members in this guild.int
getMemberLimit()
The active member limit for this guild.int
getPresenceLimit()
The active presence limit for this guild.
-
-
-
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
-
-