RoleDelta

data class RoleDelta(old: Set<Role>, new: Set<Role>)

Represents the difference in roles between two Kord Member objects.

This is intended for use with MemberDelta, and is included as the roles attribute.

Constructors

Link copied to clipboard
constructor(old: Set<Role>, new: Set<Role>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val added: Set<Role>

A set representing any roles that were added in new, if any.

Link copied to clipboard
val removed: Set<Role>

A set representing any roles that removed in new, if any.