Sha256: 9bf168eb5502aeba3a06eba0fae4adc4fb698741f89bd70c9261f4ffe3df5a10

Contents?: true

Size: 469 Bytes

Versions: 4

Compression:

Stored size: 469 Bytes

Contents

#!/usr/bin/env ruby

require 'qwtf_discord_bot'
require "thor"

class QwtfDiscordBotExe < Thor
  def self.exit_on_failure?
    true
  end
  
  desc "server", "Runs the qwtf-discord-bot server"
  def server
    server_bot = QwtfDiscordBot::Server.new
    server_bot.run
  end

  desc "watcher", "Runs the qwtf-discord-bot watcher"
  def watcher
    watcher_bot = QwtfDiscordBot::Watcher.new
    watcher_bot.run
  end
end

QwtfDiscordBotExe.start

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
qwtf_discord_bot-0.3.3 exe/qwtf_discord_bot
qwtf_discord_bot-0.3.2 exe/qwtf_discord_bot
qwtf_discord_bot-0.3.1 exe/qwtf_discord_bot
qwtf_discord_bot-0.3.0 exe/qwtf_discord_bot