Bot debug

This commit is contained in:
magnolia-fan
2011-04-10 09:01:11 +04:00
parent 259cbd6a84
commit 1b6bb9c1b3
2 changed files with 8 additions and 6 deletions
+3 -1
View File
@@ -23,7 +23,9 @@ module Vkontakte
private
def self.randomBot
@@bot = @@accounts[@@accounts.keys[rand(@@accounts.keys.length - 1)]]
botname = @@accounts.keys[rand(@@accounts.keys.length - 1)]
@@bot = @@accounts[botname]
pp 'Using bot ' << botname
end
def self.getHtml q