Skip to content

Commit

Permalink
Log the right stuff, log in as the right user.
Browse files Browse the repository at this point in the history
  • Loading branch information
jasiek committed Jun 30, 2015
1 parent cf86a8b commit 5f35524
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions bot.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@

bot = Cinch::Bot.new do
configure do |c|
c.nick = 'm0hsl-bot'
c.server = "irc.freenode.net"
c.channels = [ "#lhs-radio" ]
c.channels = [ "#lhs-radio", "#london-hack-space" ]
c.plugins.plugins = [Cinch::Plugins::Identify,
Cinch::Plugins::PSKReporter,
Cinch::Plugins::TwitterWatch]
Expand All @@ -32,7 +33,8 @@
end
end

bot.loggers << Cinch::Logger::CanonicalLogger.new('#lhs-radio', bot)
bot.loggers << Cinch::Logger::CanonicalLogger.new('lhs-radio', bot)
bot.loggers << Cinch::Logger::CanonicalLogger.new('london-hack-space', bot)

# We tweet only from time to time.
Cinch::Plugins::TwitterWatch.timers.last.interval = 600
Expand Down

0 comments on commit 5f35524

Please sign in to comment.