Skip to content

Instantly share code, notes, and snippets.

@jColeChanged
Created December 16, 2010 08:57
Show Gist options
  • Save jColeChanged/743206 to your computer and use it in GitHub Desktop.
Save jColeChanged/743206 to your computer and use it in GitHub Desktop.
{:servers ["irc.freenode.net"] ; A list of servers.
:prepends #{"@"} ; The character you want for a prepend. Currently set to @
: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
#"&\|(.*?)(?=\|&|\|&|$)" ; stuff like &|this|&
#"##(([^#]|#(?!#))+)\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 ["#tempchan"]
:bot-name "s-expression-bot"
:bot-password nil
:users {"JohnDoe" {:pass "iliekpie", :privs :admin}
"JaneDoe" {:pass "ohai", :privs :admin}
"joshua" {: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 #{} ; 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 #{#_"dictionary" "lmgtfy" "google" "translate" "eball" "utils" "leet" "clojure" "login" "log" "findfn"
"weather" "brainfuck" "whatis" "shorturl" "haskell"
"mail" "timer" "fortune" "rss" "title" "operator" "seen" "sed" "help"
"load" "embedded" "karma" "markov"}} ; A series of "match this" but "not this" pairs.
:plugins #{#_"dictionary" "lmgtfy" "google" "translate" "eball" "utils" "leet" "clojure" "login" "log" "findfn"
"weather" "brainfuck" "whatis" "shorturl" "haskell"
"mail" "timer" "fortune" "rss" "title" "operator" "seen" "sed" "help"
"load" "embedded" "karma" "markov"}}
; users is a series of username to password and privileges.
; plugins is a list of plugins to load at startup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment