struct Discord::Role

Defined in:

discordcr/mappings/guild.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def color #

[View source]
def colour : UInt32 #

def colour=(_colour : UInt32) #

def hoist : Bool #

def hoist=(_hoist : Bool) #

def id : Snowflake #

def id=(_id : Snowflake) #

def managed : Bool #

def managed=(_managed : Bool) #

def mentionable : Bool #

def mentionable=(_mentionable : Bool) #

def name : String #

def name=(_name : String) #

def permissions : Permissions #

def permissions=(_permissions : Permissions) #

def position : Int32 #

def position=(_position : Int32) #

def to_json(json : JSON::Builder) #