struct Config

Included Modules

Defined in:

config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def botapi_token : String #

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

[View source]
def discord_client_id : String #

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

[View source]
def discord_token : String #

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

[View source]
def messages_enabled : Bool #

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

[View source]
def messages_welcome : String #

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

[View source]
def mysql_dbname : String #

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

[View source]
def mysql_enabled : Bool #

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

[View source]
def mysql_hostname : String #

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

[View source]
def mysql_password : String #

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

[View source]
def mysql_port : Int32 #

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

[View source]
def mysql_user : String #

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

[View source]
def web_cert : String #

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

[View source]
def web_enabled : Bool #

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

[View source]
def web_hostname : String #

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

[View source]
def web_port : Int32 #

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

[View source]
def web_privkey : String #

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

[View source]
def web_ssl : Bool #

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

[View source]