]> jfr.im git - erebus.git/blobdiff - bot.config.example
admin_config - add !getconfig, remove some unused functions
[erebus.git] / bot.config.example
index 126475af8b0ea00ba45af99e79e3b64c672818c0..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 = dk.quakenet.org
+
+host = irc.quakenet.org
 port = 6667
+#pass = foobar
 
 dbhost = localhost
 dbuser = erebus
@@ -10,5 +16,69 @@ dbname = erebus
 
 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]
-modtest = 1
+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
+con_sec = twitter consumer secret
+token = twitter token
+token_sec = twitter token secret
+topiccommand = TOPIC %(chan)s :%(topic)s
+
+[sms]
+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