struct Discord::GuildMember

Defined in:

discordcr/mappings/guild.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def deaf : ::Union(Bool, Nil) #

def deaf=(_deaf : ::Union(Bool, Nil)) #

def joined_at : ::Union(Time, Nil) #

def joined_at=(_joined_at : ::Union(Time, Nil)) #

def mention #

Produces a string to mention this member in a message


[View source]
def mute : ::Union(Bool, Nil) #

def mute=(_mute : ::Union(Bool, Nil)) #

def nick : ::Union(String, Nil) #

def nick=(_nick : ::Union(String, Nil)) #

def roles : Array(Snowflake) #

def roles=(_roles : Array(Snowflake)) #

def to_json(json : JSON::Builder) #

def user : User #

def user=(_user : User) #