diff options
author | equa <equaa@protonmail.com> | 2022-03-13 18:01:02 +0000 |
---|---|---|
committer | equa <equaa@protonmail.com> | 2022-03-13 18:10:04 +0000 |
commit | 2d581a2b62a398963e4e418243b10e02b8d648af (patch) | |
tree | 992c7352f2451a50e4c6cb20dfdfc5262bc0580e /config.example.lua | |
parent | 199b82b6767dcbe0a3e5cd770402d87e1be04f31 (diff) |
Various fixes
- add directory configuration option - add debug mode for checking output - fix FIFOs not actually being FIFOs - add user and pass configuration options - validate config files - don't fail instantly if we fail to exec or chdir; instead, wait for input to avoid restart loops - have ed restart on JOIN rather than instantly - output stderr to the channel as well
Diffstat (limited to 'config.example.lua')
-rw-r--r-- | config.example.lua | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/config.example.lua b/config.example.lua index 1d65b8c..faafcf4 100644 --- a/config.example.lua +++ b/config.example.lua @@ -4,9 +4,18 @@ return { port = 6667, tls = false, }, - nick = "ed1bot", - -- allow dms? + -- print all messages received from the server to stdout + debug = true, + nick = "edward", + user = "edward", + -- pass = "user:pass" + -- allow dms? currently unimplemented direct = false, + -- directory to run commands under. this can also be specified + -- in the individual channels; the individual settings overwrite + -- this one and don't act relative to it. + directory = "testbed", + -- this one can be overwritten too command = { "red" }, -- a ist of lua patterns (maybe regex later) that -- tells edbot when to listen for commands |