implicit final class RoleSyntax extends AnyVal
- Source
- syntax.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- RoleSyntax
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def delete: DeleteGuildRole
Delete this role.
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modify(name: util.JsonOption[String] = JsonUndefined, permissions: util.JsonOption[Permission] = JsonUndefined, color: util.JsonOption[Int] = JsonUndefined, hoist: util.JsonOption[Boolean] = JsonUndefined, icon: util.JsonOption[ImageData] = JsonUndefined, unicodeEmoji: util.JsonOption[String] = JsonUndefined, mentionable: util.JsonOption[Boolean] = JsonUndefined): ModifyGuildRole
Modify this role.
Modify this role.
- name
The new name of the role.
- permissions
The new permissions this role has.
- color
The new color of the role.
- hoist
If this role is shown in the right sidebar.
- icon
The role's icon image.
- unicodeEmoji
The role's unicode emoji.
- mentionable
If this role is mentionable.
- def toString(): String
- Definition Classes
- Any