irc.gitbot: update to be configurable.

locals-and-roots
Doug Coleman 2016-05-09 15:09:54 -07:00
parent e28328af70
commit d3570f2b22
1 changed files with 7 additions and 2 deletions

View File

@ -2,11 +2,16 @@
! See http://factorcode.org/license.txt for BSD license.
USING: calendar debugger fry io io.encodings.utf8 io.launcher
irc.client irc.client.chats kernel make mason.common mason.git
math sequences threads timers ;
math namespaces sequences threads timers ;
IN: irc.gitbot
SYMBOL: nickserv-handle
SYMBOL: nickserv-password
: bot-profile ( -- obj )
"irc.freenode.org" 6667 "stackoid" f <irc-profile> ;
"irc.freenode.org" 6667
nickserv-handle get "stackoid2" or
nickserv-password get <irc-profile> ;
: bot-channel ( -- seq ) "#concatenative" ;