struct Discord::Role

Included Modules

Defined in:

discordcr/mappings/guild.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def color #

[View source]
def colour : UInt32 #

[View source]
def colour=(colour : UInt32) #

[View source]
def hoist : Bool #

[View source]
def hoist=(hoist : Bool) #

[View source]
def id : Snowflake #

[View source]
def id=(id : Snowflake) #

[View source]
def managed : Bool #

[View source]
def managed=(managed : Bool) #

[View source]
def mention #

Produces a string to mention this role in a message


[View source]
def mentionable : Bool #

[View source]
def mentionable=(mentionable : Bool) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def permissions : Permissions #

[View source]
def permissions=(permissions : Permissions) #

[View source]
def position : Int32 #

[View source]
def position=(position : Int32) #

[View source]