struct BotConfig

Defined in:

confs_parser.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(server : String, port : Int32, username : String, nickname : String, channels : Array(String), commands : Hash(String, Hash(String, String))) #

[View source]

Class Method Detail

def self.from_file(fname : String) #

[View source]

Instance Method Detail

def channels : Array(String) #

[View source]
def commands : Hash(String, Hash(String, String)) #

[View source]
def nickname : String #

[View source]
def port : Int32 #

[View source]
def server : String #

[View source]
def username : String #

[View source]