Package com.mewna.catnip.entity.guild
Interface Invite
- All Superinterfaces:
Entity
- All Known Subinterfaces:
CreatedInvite
- All Known Implementing Classes:
CreatedInviteImpl
,InviteImpl
An invite to a guild.
- Since:
- 9/14/18
- Author:
- natanbc
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
-
Method Summary
-
Method Details
-
code
- Returns:
- The code for this invite.
-
inviter
- Returns:
- The person who created the invite.
-
guild
- Returns:
- The guild the invite is for.
-
channel
- Returns:
- The channel the member is for.
-
approximatePresenceCount
@Nonnegative int approximatePresenceCount()- Returns:
- The approximate number of people online in the guild.
-
approximateMemberCount
@Nonnegative int approximateMemberCount()- Returns:
- The approximate number of people in the guild.
-
delete
Deletes the invite.- Parameters:
reason
- The reason that will be displayed in audit log- Returns:
- A Single that completes when the invite is deleted.
-
delete
Deletes the invite.- Returns:
- A Single that completes when the invite is deleted.
-