Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Accept the room as the first argument to an autorun bot

  • Loading branch information...
commit bb79ceb87881e584f5319882e2c8fe994d904961 1 parent e4c0058
@raggi authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  lib/talker_bot/autorun.rb
View
2  lib/talker_bot/autorun.rb
@@ -7,4 +7,6 @@
def_delegators :@bot, *TalkerBot.instance_methods(false)
+config :room, ARGV.first
+
at_exit { EM.run { @bot.run } }
Please sign in to comment.
Something went wrong with that request. Please try again.