lib/muzang/bot.rb in muzang-1.1.1 vs lib/muzang/bot.rb in muzang-1.1.2
- old
+ new
@@ -1,9 +1,10 @@
require 'muzang'
require 'coffeemaker/bot'
require 'active_support/inflector/inflections'
require 'active_support/inflector/methods'
+require 'logger'
module Muzang
class Bot
attr_accessor :bot, :connection, :plugins, :channels
@@ -45,10 +46,11 @@
def default_options
{
irc_host: 'localhost',
irc_port: 6667,
nick: 'DRUG-bot',
- channels: ['#test']
+ channels: ['#test'],
+ logger: Logger.new('/dev/null')
}
end
end
end