Package net.dv8tion.jda.api.entities
Class VanityInvite
java.lang.Object
net.dv8tion.jda.api.entities.VanityInvite
Meta data for the vanity invite of a guild
- Since:
- 4.2.1
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VanityInvite
-
-
Method Details
-
getCode
The invite code used for the invite url.- Returns:
- The code
-
getUses
public int getUses()How many times this invite has been used.
This is reset after the invite is changed or removed.- Returns:
- The invite uses
-
getUrl
The invite url.- Returns:
- The invite url
-
equals
-
hashCode
public int hashCode() -
toString
-