Created
April 3, 2011 00:37
-
-
Save amalloy/900059 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (let [plugins #{#_"dictionary" "lmgtfy" "google" "translate" "eball" "utils" "leet" "clojure" "login" "log" | |
| "weather" "brainfuck" "whatis" "shorturl" "haskell" | |
| "mail" "timer" "fortune" "rss" "title" "operator" "seen" "sed" "help" | |
| "load" "embedded" "karma" "ping" "debug"}] | |
| {:servers ["irc.freenode.net"] ; A list of servers. | |
| :prepends #{":"} ; The character you want for a prepend. Currently set to @ | |
| :dont-sed #{"tomoj" "hiredman"} | |
| :bitly-login "" ; Your bit.ly login. | |
| :bitly-key "" ; API key and login above needed for URL shortening. | |
| :wordnik-key "" ; API key needed for dictionary access. | |
| :max-operations 3 ; The maximum number of operations that can be running at any given time. | |
| :pending-ops 0 ; The number of operations running right now | |
| :admin-add? true ; only admins can add help topics | |
| :admin-rm? true ; only admins can remove help topics | |
| :eval-prefixes {:defaults ["->" "," ; prefixes in any channel | |
| #"##(([^#]|#(?!#))+)\s*((##)?(?=.*##)|$)"] | |
| ;; list of prefixes NOT to use in certain channels | |
| "#tempchan" ["->"] ; turn this off for testing | |
| "#clojure" [","]} ; let clojurebot have this one | |
| :servers-port 8080 ; port for plugins that require webserver | |
| "irc.freenode.net" {:channels ["#sexpbot"] | |
| :bot-name "buttered-toast" | |
| :bot-password nil | |
| :users {"JohnDoe" {:pass "iliekpie", :privs :admin} | |
| "JaneDoe" {:pass "ohai", :privs :admin} | |
| "amalloy" {:host "amalloy@li231-96.members.linode.com", :privs :admin}} | |
| :user-blacklist #{"Meowzorz"} | |
| :catch-links? {true} ; Should only be enabled if the title plugin is activated below. | |
| :channel-catch-blacklist #{} ; Channels in which URL title scraper is to be disabled. | |
| :url-blacklist #{"github"} ; URL title scraper will look for these words in URLs and not use them if they appear. | |
| :user-ignore-url-blacklist [["bot" "ters"]] ; A series of "match this" but "not this" pairs.} | |
| :plugins plugins} ; A series of "match this" but "not this" pairs. | |
| :plugins plugins}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment