about summary refs log tree commit diff
path: root/config.example.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config.example.lua')
-rw-r--r--config.example.lua21
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: ?", ":" },
+		},
+	},
+}