Sha256: fd8170d944651afa714aa3d126d71377d9320ca45f78d3b75e84fb88706ce34c

Contents?: true

Size: 798 Bytes

Versions: 5

Compression:

Stored size: 798 Bytes

Contents

#!/usr/bin/env ruby

require 'dotenv/load'
require 'qwtf_discord_bot'
require 'thor'
require 'pry'

class QwtfDiscordBotExe < Thor
  def self.exit_on_failure?
    true
  end

  desc 'server', 'Responds to user commands with server information'
  def server
    server_bot = QwtfDiscordBotServer.new
    server_bot.run
  end

  desc 'pug', 'Start, join, leave, record pick-up games.'
  def pug
    pug_bot = QwtfDiscordBotPug.new
    pug_bot.run
  end

  desc 'watcher', 'Watches servers and accounces when a player joins'
  def watcher
    watcher_bot = QwtfDiscordBotWatcher.new
    watcher_bot.run
  end

  desc 'dashboard', 'A live dashboard with active server information'
  def dashboard
    dashboard_bot = QwtfDiscordBotDashboard.new
    dashboard_bot.run
  end
end

QwtfDiscordBotExe.start

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qwtf_discord_bot-6.3.1 exe/qwtf_discord_bot
qwtf_discord_bot-6.3.0 exe/qwtf_discord_bot
qwtf_discord_bot-6.2.2 exe/qwtf_discord_bot
qwtf_discord_bot-6.2.1 exe/qwtf_discord_bot
qwtf_discord_bot-6.2.0 exe/qwtf_discord_bot