Revision 476368e8
Added by Marc Dequènes about 14 years ago
- ID 476368e89610c1079a6a5c869254f3958533484d
lib/cyborghood/base/config.rb | ||
---|---|---|
CONFFILE_GLOBAL = "cyborghood.conf"
|
||
CONFFILE_BOT = "cyborghood_%s.conf"
|
||
|
||
attr_accessor :bot_id
|
||
|
||
def self.load(name = nil)
|
||
# load all config parts
|
||
g_config_raw = load_config_raw()
|
Also available in: Unified diff
[fix] adapted Interface to recent changes, pass bot object, and correct api_methods() calculation