Class Role


  • public class Role
    extends java.lang.Object
    Represents 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 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()