25 lines
715 B
Lua
25 lines
715 B
Lua
|
-- ---------------------------------------------------------------------------
|
||
|
-- Server configuration
|
||
|
-- ---------------------------------------------------------------------------
|
||
|
|
||
|
-- `itte_servers`
|
||
|
-- Below is a sample server configuration.
|
||
|
-- If the server does not support CAP negotiation (used for SASL
|
||
|
-- authentication), set: cap = nil
|
||
|
-- `auth_type` options: nil, "pass", "sasl", "nickserv"
|
||
|
-- ]]
|
||
|
itte_servers = {
|
||
|
server_name = {
|
||
|
host = "irc.example.tld",
|
||
|
port = 6667,
|
||
|
channels = { "#channel-name" },
|
||
|
cap = { "sasl" },
|
||
|
nick = "botnick",
|
||
|
auth_type = nil,
|
||
|
auth_user = "botuser",
|
||
|
auth_pass = "password",
|
||
|
code_prefix = "!",
|
||
|
admins = { adminuser = "password" },
|
||
|
},
|
||
|
}
|