about summary refs log tree commit diff
path: root/config.example.lua
blob: 1d65b8ce05042e55c3670720dfc5af2e9fcf2d2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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: ?", ":" },
		},
	},
}