$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'dotenv'
Dotenv.load

require 'scrumbot'
require 'web'

Thread.abort_on_exception = true

Thread.new do
  begin
    Scrum::Bot.run
  rescue Exception => e
    STDERR.puts "ERROR: #{e}"
    STDERR.puts e.backtrace
    raise e
  end
end

c = Scrum::Bot.instance.send :client

run Scrum::Web

$LOAD_PATH.unshift(File.dirname(__FILE__))

require 'dotenv'
Dotenv.load

require 'scrumbot'
require 'web'

Thread.abort_on_exception = true

Thread.new do
  begin
    Scrum::Bot.run
  rescue Exception => e
    STDERR.puts "ERROR: #{e}"
    STDERR.puts e.backtrace
    raise e
  end
end

run Scrum::Web

Remove silly client get line
Remove silly client get line
