From d3570f2b221f52f8783a80722b263d3981167888 Mon Sep 17 00:00:00 2001 From: Doug Coleman Date: Mon, 9 May 2016 15:09:54 -0700 Subject: [PATCH] irc.gitbot: update to be configurable. --- extra/irc/gitbot/gitbot.factor | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/extra/irc/gitbot/gitbot.factor b/extra/irc/gitbot/gitbot.factor index 4639a3a6fb..acd0b9d76b 100644 --- a/extra/irc/gitbot/gitbot.factor +++ b/extra/irc/gitbot/gitbot.factor @@ -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.freenode.org" 6667 + nickserv-handle get "stackoid2" or + nickserv-password get ; : bot-channel ( -- seq ) "#concatenative" ;