Module: HackBot
- Defined in:
- lib/hack_bot.rb,
lib/hack_bot/version.rb
Constant Summary collapse
- VERSION =
"0.0.3"
Class Method Summary collapse
Class Method Details
.start(server, channels, nick, realname, user) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/hack_bot.rb', line 6 def self.start(server, channels, nick, realname, user) bot = Cinch::Bot.new do configure do |c| c.server = server c.channels = channels c.nick = nick c.realname = realname c.user = user c.plugins.plugins = [ChannelInteractions] end end bot.start end |