diff options
author | equa <equaa@protonmail.com> | 2022-03-07 19:14:15 +0000 |
---|---|---|
committer | equa <equaa@protonmail.com> | 2022-03-07 19:14:15 +0000 |
commit | 224e8f43c50a513bae78af2152c12c0a5f9564f9 (patch) | |
tree | 7748d6ffeba50a43d3a7f55a3c85983d07969776 /config.example.lua |
initial commit
Diffstat (limited to 'config.example.lua')
-rw-r--r-- | config.example.lua | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config.example.lua b/config.example.lua new file mode 100644 index 0000000..1d65b8c --- /dev/null +++ b/config.example.lua @@ -0,0 +1,21 @@ +return { + host = { + host = "localhost", + port = 6667, + tls = false, + }, + nick = "ed1bot", + -- allow dms? + direct = false, + command = { "red" }, + -- a ist of lua patterns (maybe regex later) that + -- tells edbot when to listen for commands + -- %n is replaced with edbot's current nickname + -- %% is replaced by % + invoke = { "%n: ?" }, + channels = { + ["#ed1bot"] = { + invoke = { "%n: ?", ":" }, + }, + }, +} |