Sha256: fcb0b2e9e56e118fcd60e7c9a62718de0349644484490e692dabde63a32d4fc2

Contents?: true

Size: 555 Bytes

Versions: 4

Compression:

Stored size: 555 Bytes

Contents

require 'qwtf_discord_bot/version'
require 'qwtf_discord_bot/qwtf_discord_bot_server'
require 'qwtf_discord_bot/qwtf_discord_bot_watcher'
require 'discordrb'
require 'yaml'

require 'config'
require 'qstat_request'
require 'player'
require 'team'
require 'emoji'
require 'roster'

class QwtfDiscordBot # :nodoc:
  CONFIG_FILE = ENV['QWTF_DISCORD_BOT_CONFIG_FILE'] || "#{Dir.pwd}/config.yaml"

  def initialize
    @config = Config.new(CONFIG_FILE)
    @token = @config.token
    @client_id = @config.client_id
    @endpoints = @config.endpoints
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qwtf_discord_bot-4.0.3 lib/qwtf_discord_bot.rb
qwtf_discord_bot-4.0.2 lib/qwtf_discord_bot.rb
qwtf_discord_bot-4.0.1 lib/qwtf_discord_bot.rb
qwtf_discord_bot-4.0.0 lib/qwtf_discord_bot.rb