module Relayer

Constants

VERSION

Public Class Methods

start!(bots) click to toggle source
# File lib/relayer/relayer.rb, line 6
def Relayer::start!(bots)
  if bots.respond_to? :each
    bots.each do |bot|
      bot.start
    end
  else
    bots.start
  end
  
  unless IRCSocketSelector.started?
    IRCSocketSelector.start!
  end
end