Class Role
- java.lang.Object
-
- com.rodiconmc.rodicord.objects.guild.Role
-
public class Role extends java.lang.ObjectRepresents a role in a guild. Roles represent a set of permissions attached to a group of users. Roles have unique names, colors, and can be "pinned" to the side bar, causing their members to be listed separately. Roles are unique per guild, and can have separate permission profiles for the global context (guild) and channel context. The \@everyone role has the same ID as the guild it belongs to.- See Also:
- Discord Role Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetColor()java.lang.StringgetId()java.lang.StringgetName()intgetPermissions()intgetPosition()booleanisHoist()booleanisManaged()booleanisMentionable()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
-
getName
public java.lang.String getName()
-
getColor
public int getColor()
-
isHoist
public boolean isHoist()
-
getPosition
public int getPosition()
-
getPermissions
public int getPermissions()
-
isManaged
public boolean isManaged()
-
isMentionable
public boolean isMentionable()
-
-