struct Discord::GuildMember

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 deaf : Bool | Nil #

[View source]
def deaf=(deaf : Bool | Nil) #

[View source]
def joined_at : Time | Nil #

[View source]
def joined_at=(joined_at : Time | Nil) #

[View source]
def mention #

Produces a string to mention this member in a message


[View source]
def mute : Bool | Nil #

[View source]
def mute=(mute : Bool | Nil) #

[View source]
def nick : String | Nil #

[View source]
def nick=(nick : String | Nil) #

[View source]
def premium_since : Time | Nil #

[View source]
def premium_since=(premium_since : Time | Nil) #

[View source]
def roles : Array(Snowflake) #

[View source]
def roles=(roles : Array(Snowflake)) #

[View source]
def user : User #

[View source]
def user=(user : User) #

[View source]