]> jfr.im git - erebus.git/blobdiff - bot.config.example
admin_config - add !getconfig, remove some unused functions
[erebus.git] / bot.config.example
index 24d6a19d50b89a0b6a2ae6c88fe1b59639c46efc..09b1ac20d9193a16ce29e9dd815df1fa714d322b 100644 (file)
@@ -1,7 +1,13 @@
+; Copy this file to bot.config
+; Note: comments will not be retained in bot.config,
+; and you can not edit it by hand while the bot is running.
+
 [erebus]
 realname = Erebus r1
+
 host = irc.quakenet.org
 port = 6667
+#pass = foobar
 
 dbhost = localhost
 dbuser = erebus
@@ -12,10 +18,27 @@ trigger = !
 
 pidfile = pidfile
 
+; Wait for numeric 396 (hidden host) before joining channels?
+wait_for_hidden_host = 0
+
+; path to write bot's ident config (~/.oidentd.conf format) into
+; empty or not supplied to disable
+;oidentd_path = /home/erebus/.oidentd.conf
+
 [autoloads]
 control = 1
 eval = 0
 
+[watchdog]
+; The bot includes a watchdog timer. It sends a PING to the server every
+; "interval" seconds, and resets itself (by ending the process) if
+; "maxtime" seconds go by without receiving anything.
+interval = 30
+maxtime = 300
+
+
+; MODULES:
+
 [trivia]
 jsonpath = /bla/foo/bar/modules/contrib/trivia/trivia.json.example
 con = twitter consumer
@@ -28,3 +51,34 @@ topiccommand = TOPIC %(chan)s :%(topic)s
 account_sid = twilio AccountSid
 auth_token = twilio auth token
 mynumber = +11234567890 (sms "callerid")
+
+[help]
+url = https://where.ever/dir/%d.txt
+
+[reddark]
+update_interval = 600
+topicsuffix = | Something something mumble mumble
+
+[weatherstack_weather]
+key = your API Key
+
+[bashorg]
+path = /home/erebus/bash.org/
+
+[listenbrainz]
+format = https://listenbrainz.org/user/%(user)s is playing \1f%(track)s\1f by %(artist)s (\1f%(album)s\1f) (from %(player)s)
+
+[urls]
+multiline = 1
+
+[steam]
+apikey = steam api key
+
+[nitterize]
+instance = https://nitter.net/
+
+[exception_hook]
+destination = #channel
+
+[sockets]
+127.0.0.1:1337 = #channel