struct Discord::Guild

Defined in:

discordcr/mappings/guild.cr

Constructors

Instance Method Summary

Constructor Detail

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

Instance Method Detail

def afk_channel_id : ::Union(Snowflake, Nil) #

def afk_channel_id=(_afk_channel_id : ::Union(Snowflake, Nil)) #

def afk_timeout : ::Union(Int32, Nil) #

def afk_timeout=(_afk_timeout : ::Union(Int32, Nil)) #

def default_message_notifications : UInt8 #

def default_message_notifications=(_default_message_notifications : UInt8) #

def embed_channel_id : ::Union(Snowflake, Nil) #

def embed_channel_id=(_embed_channel_id : ::Union(Snowflake, Nil)) #

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

def embed_enabled=(_embed_enabled : ::Union(Bool, Nil)) #

def emoji : Array(Emoji) #

def emoji=(_emoji : Array(Emoji)) #

def emojis #

[View source]
def explicit_content_filter : UInt8 #

def explicit_content_filter=(_explicit_content_filter : UInt8) #

def features : Array(String) #

def features=(_features : Array(String)) #

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

def icon=(_icon : ::Union(String, Nil)) #

def id : Snowflake #

def id=(_id : Snowflake) #

def name : String #

def name=(_name : String) #

def owner_id : Snowflake #

def owner_id=(_owner_id : Snowflake) #

def region : String #

def region=(_region : String) #

def roles : Array(Role) #

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

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

def splash=(_splash : ::Union(String, Nil)) #

def system_channel_id : ::Union(Snowflake, Nil) #

def system_channel_id=(_system_channel_id : ::Union(Snowflake, Nil)) #

def to_json(json : JSON::Builder) #

def verification_level : UInt8 #

def verification_level=(_verification_level : UInt8) #

def widget_channel_id : ::Union(Snowflake, Nil) #

def widget_channel_id=(_widget_channel_id : ::Union(Snowflake, Nil)) #

def widget_enabled : Bool? #

def widget_enabled=(_widget_enabled : Bool?) #