Discord::Role
Inherits JSON::Serializable / Struct / Value / Object
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
color
Sourcecolour
Sourcecolour=(colour : UInt32)
Sourcehoist
Sourcehoist=(hoist : Bool)
Sourceid
Sourceid=(id : Snowflake)
Sourcemanaged
Sourcemanaged=(managed : Bool)
Sourcementionable
Sourcementionable=(mentionable : Bool)
Sourcename
Sourcename=(name : String)
Sourcepermissions
Sourcepermissions=(permissions : Permissions)
Sourceposition
Sourceposition=(position : Int32)
Source