]> jfr.im git - erebus.git/blobdiff - bot.config.example
some socket fixes
[erebus.git] / bot.config.example
index 95b002904b428e2fc8244ffcb20516c821bc9d5b..fbaa266d4e7e1b72b9d561650bcd01283e4e86c6 100644 (file)
@@ -1,6 +1,10 @@
+; 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]
-real = Erebus r1
-host = dk.quakenet.org
+realname = Erebus r1
+host = irc.quakenet.org
 port = 6667
 
 dbhost = localhost
@@ -10,5 +14,47 @@ dbname = erebus
 
 trigger = !
 
+pidfile = pidfile
+
+; Wait for numeric 396 (hidden host) before joining channels?
+wait_for_hidden_host = 0
+
 [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/