class Shroom::Config
- Shroom::Config
- Reference
- Object
Included Modules
- YAML::Serializable
Defined in:
shroom/config.crConstructors
- .new(token : String, channel : UInt64, prefixes : Array(String), commands : Hash(String, String), shitpost : Array(Array(String)), exchange : Hash(String, String), responses : Array(String), classifiers : Array(String), remind : Hash(String, Array(String)), enable_hello : Bool, hello : String, help : String)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
Class Method Summary
Instance Method Summary
- #channel : UInt64
- #classifiers : Array(String)
- #commands : Hash(String, String)
- #enable_hello? : Bool
- #exchange : Hash(String, String)
- #hello : String
- #help : String
- #prefixes : Array(String)
- #remind : Hash(String, Array(String))
- #responses : Array(String)
- #shitpost : Array(Array(String))
- #token : String
Constructor Detail
def self.new(token : String, channel : UInt64, prefixes : Array(String), commands : Hash(String, String), shitpost : Array(Array(String)), exchange : Hash(String, String), responses : Array(String), classifiers : Array(String), remind : Hash(String, Array(String)), enable_hello : Bool, hello : String, help : String)
#