Role
data class Role(val data: RoleData, val kord: Kord, val supplier: EntitySupplier = kord.defaultSupplier) : RoleBehavior(source)
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Requests to change the position of this role.
Link copied to clipboard
Requests to edit this role.
Link copied to clipboard
Retrieve the Role associated with this behaviour from the provided EntitySupplier
Link copied to clipboard
Retrieve the Role associated with this behaviour from the provided EntitySupplier returns null if the Role isn't present.
Link copied to clipboard
Requests to get the position of this role in the role list of this guild.
Link copied to clipboard
fun Role.live(coroutineScope: CoroutineScope = kord + SupervisorJob(kord.coroutineContext.job)): LiveRole
Link copied to clipboard