def send_msg(msg, site, room_id, bot)
chat = @bots[bot.id]
if !chat
if !bot.auth_route.present?
chat = @bots[-1]
else
chat = ChatBot.new
chat.login JSON.parse(Net::HTTP.get(bot.auth_route).body)
@bots[bot.id] = chat
end
end
chat.say msg, room_id, :server => site
end