10 end |
10 end |
11 |
11 |
12 jid = os.getenv "RIDDIM_JID" or "bot@localhost" |
12 jid = os.getenv "RIDDIM_JID" or "bot@localhost" |
13 password = os.getenv "RIDDIM_PASSWORD" or "password" |
13 password = os.getenv "RIDDIM_PASSWORD" or "password" |
14 nick = os.getenv "RIDDIM_NICK" or "riddim" |
14 nick = os.getenv "RIDDIM_NICK" or "riddim" |
15 |
|
16 autojoin = split(os.getenv "RIDDIM_ROOMS") |
15 autojoin = split(os.getenv "RIDDIM_ROOMS") |
17 |
|
18 plugins = split(os.getenv "RIDDIM_PLUGINS" or "groupchat, commands") |
16 plugins = split(os.getenv "RIDDIM_PLUGINS" or "groupchat, commands") |
19 debug = true |
17 debug = os.getenv "RIDDIM_DEBUG" or true |
|
18 connect_port = os.getenv "RIDDIM_CONNECT_PORT" or nil |
|
19 connect_host = os.getenv "RIDDIM_CONNECT_HOST" or nil |
|
20 command_prefix = os.getenv "RIDDIM_COMMAND_PREFIX" or "-" |