-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathevilbotconf.py.example
More file actions
67 lines (58 loc) · 2.41 KB
/
evilbotconf.py.example
File metadata and controls
67 lines (58 loc) · 2.41 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# Instance-specific config for "Hecubus" bot
#
# server tag - mandatory for all instances
SERVERTAG = "hdf-us"
# connection
HOST, PORT = "irc.libera.chat", 6697
# Nick, channel, etc
CHANNEL = "#evilhack" #channel is ignored on slave bots.
NICK = "Hecubus"
USERNAME = "Hecubus"
REALNAME = "Hecubus"
# working directory (some files will be created here)
BOTDIR = "/opt/evilbot"
# 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/chroot/"
WEBROOT="https://www.hardfought.org/"
# directory to place channel logs.
LOGROOT="/var/www/hardfought.org/irclog.evil/"
# Name of bot to forward "pinobot"-style queries
PINOBOT = "Pinoclone"
# Name of bot in our channel that bridges discord network
DCBRIDGE = "rld"
# Enable Reddit monitoring for r/nethack (optional, default False)
# Set to True to enable monitoring and announcing new posts
ENABLE_REDDIT = False
# Enable GitHub commit monitoring (optional, default False)
# Set to True to enable monitoring and announcing new commits
ENABLE_GITHUB = False
# GitHub repositories to monitor (list of dicts with repo and branch)
# Each entry should have 'repo' (format: "owner/repo") and 'branch' (usually "master" or "main")
GITHUB_REPOS = [
{"repo": "k21971/EvilHack", "branch": "master"},
# Add more repositories here:
# {"repo": "k21971/EvilBot", "branch": "master"},
]
# 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", "Hecubus-EU", "/var/www/html/xlogfiles/"),
"hdf-au": ("au.hardfought.org", "Hecubus-AU", "/var/www/html/xlogfiles/")}
# If we're a remote "slave" bot, MASTERS defines who we announce to, and who we take
# queries from for !whereis, etc.
#MASTERS = ["Hecubus"]