Skip to content
This repository has been archived by the owner on Feb 6, 2025. It is now read-only.
Shell edited this page Nov 16, 2022 · 3 revisions

The Role model. This is used to represent a discord Role object. Used in Guilds.

Attributes


  • id (str) - The ID for the current role

  • permissions (list(str)) - List of Strings for the permissions

  • name (str) - The name of the role

  • mentionable (bool) - Whether the role is mentionable or not

  • managed (bool) - Whether the role is managed

  • icon (hash) - The role's icon hash

  • flags (int) - Permission of role

  • color (str) - Color of role

  • hoist (bool) - Whether the role is hoisted or not


Methods


  • delete - Delete the current role instance

yey

Clone this wiki locally