Class: Eployday::CLI

Inherits:
Object
  • Object
show all
Defined in:
lib/eployday/cli.rb

Instance Method Summary collapse

Instance Method Details

#runObject



6
7
8
9
10
11
12
13
14
15
16
17
# File 'lib/eployday/cli.rb', line 6

def run
  bot = Cinch::Bot.new do
    configure do |c|
      c.nick = "eployday"
      c.server = "irc.freenode.net"
      c.channels = ["#rstatus"]
      c.plugins.plugins = [Deploy]
    end
  end

  bot.start
end