itte/examples/hellobot/hellobot.servers.lua

35 lines
1.0 KiB
Lua
Raw Normal View History

2022-03-14 06:57:49 +00:00
-- ---------------------------------------------------------------------------
-- Server configuration
-- ---------------------------------------------------------------------------
-- `itte_admins`
-- Users who can access administrative functions in the client, not limited to
-- the server instance. The username is for the client only and independent of
-- IRC network usernames.
--
-- This variable is optional, but certain handlers like server disconnection
-- will not work if it is unset.
itte_admins = { demo = "password", }
2022-03-14 06:57:49 +00:00
-- `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 = { "#channel1", "#channel2" },
cap = nil,
2022-03-14 06:57:49 +00:00
nick = "botnick",
auth_type = nil,
auth_user = "botuser",
auth_pass = nil,
2022-03-14 06:57:49 +00:00
code_prefix = "!",
admins = { demouser = "password", },
2022-03-14 06:57:49 +00:00
},
}