struct Discord::Role
- Discord::Role
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
Defined in:
discordcr/mappings/guild.crConstructors
Instance Method Summary
- #color
- #colour : UInt32
- #colour=(colour : UInt32)
- #hoist : Bool
- #hoist=(hoist : Bool)
- #id : Snowflake
- #id=(id : Snowflake)
- #managed : Bool
- #managed=(managed : Bool)
-
#mention
Produces a string to mention this role in a message
- #mentionable : Bool
- #mentionable=(mentionable : Bool)
- #name : String
- #name=(name : String)
- #permissions : Permissions
- #permissions=(permissions : Permissions)
- #position : Int32
- #position=(position : Int32)
- #tags : RoleTags?
- #tags=(tags : RoleTags?)