Role

- (number) calculatedPosition - The position of the role.

- (number) color - The base 10 color of the role.

- (number) createdTimestamp - Describes when the role was created.

- (boolean) deleted - Describes if the role is deleted.

- (boolean) editable - Describes if the bot can edit this role.

- (Guild) guild - Describes the guild,

- (string) hexColor - Role's hex color.

- (boolean) hoist - Describes if user with this role appear in a separate category.

- (string) id - Role's id.

- (boolean) managed - Describes if the role is managed by an external service (eg. bot).

- (boolean) mentionable - Describes if the role is mentionable.

- (string) name - Role's name.

- (Permissions) permissions - Role's permissions.

- (number) position - The position of the role.

Back to top