Ebooks example repo

This commit is contained in:
Mispy
2013-12-20 04:55:36 -08:00
commit 42470aceb6
5 changed files with 166 additions and 0 deletions

13
run.rb Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env ruby
require_relative 'bots'
if ARGV[0] && ARGV[0] != 'start'
Ebooks::Bot.get(ARGV[0]).start
else
EM.run do
Ebooks::Bot.all.each do |bot|
bot.start
end
end
end