-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbotconf.py.example
51 lines (44 loc) · 1.73 KB
/
botconf.py.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# Instance-specific config for "Beholder" bot.
#
# server tag - mandatory for all instances
SERVERTAG = "hdf-us"
# connection
HOST, PORT = "chat.us.freenode.net", 6697
# Nick, channel, etc
CHANNEL = "#hardfought" #channel is ignored on slave bots.
NICK = "Beholder"
USERNAME = "Beholder"
REALNAME = "Beholder"
# working directory (some files will be created here)
BOTDIR = "/opt/beholder"
# file containing the nickserv password for NICK
PWFILE = BOTDIR + "/pw"
# file/web paths for dumplogs and ttyrecs.
# subfolders are still hardcoded in the main bot.
# trailing slash is required!
FILEROOT="/opt/nethack/hardfought.org/"
WEBROOT="https://www.hardfought.org/"
# directory to place channel logs.
LOGROOT="/var/www/hardfought.org/irclog/"
# Name of bot to forward "pinobot"-style queries
PINOBOT = "Pinoclone"
# Name of bot in our channel that bridges discord network
DCBRIDGE = "rld"
# people allowed to do certain admin things.
# This is not terribly secure, as it does not verify the nick is authenticated.
ADMIN = ["K2", "Tangles"]
# OPTIONAL Minimum turncounts for livelogging different event types.
# see global.h in NetHack 3.6+ and variants, with livelog patch.
LL_TURNCOUNTS = {
2: 500, # Achievements
32: 3000, # Conducts
}
# Remote servers section:
# If this bot is the "master", we need to tell it where the remote servers are,
# and the name of the "slave" bot that looks after each server.
# alias: (fqdn-of-server, remote-bot, path-to-local-copy-of-xlogfiles)
# only define one of REMOTES or MASTERS
REMOTES = { "hdf-eu": ("eu.hardfought.org", "beholder-eu", "/var/www/xlogs-eu")}
# If we're a remote "slave" bot, MASTERS defines who we announce to, and who we take
# queries from for !whereis, etc.
#MASTERS = ["Beholder"]