Contents:
discordaio
discordaio.activity
discordaio.base
discordaio.channel
discordaio.client
discordaio.constants
discordaio.emoji
discordaio.enums
discordaio.exceptions
discordaio.guild
discordaio.http
discordaio.invite
discordaio.role
discordaio.user
discordaio.version
discordaio.voice
discordaio.webhook
discordaio.websocket
Role
discordaio.role.
Represents a discord role
New in version 0.2.0.
id
int – role id
int
name
str – role name
str
color
int – integer representation of hexadecimal color code
hoist
bool – if this role is pinned in the user listing
bool
position
int – position of this role
permissions
int – permission bit set
managed
bool – whether this role is managed by an integration
mentionable
bool – whether this role is mentionable
Inheritance