Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (19 sloc) 600 Bytes
#!/usr/bin/env ruby
puts "Engaging warp drive at #{}"
require 'rubygems'
require 'bundler'
require 'cinch'
require_relative './libscosugbot'
require 'yaml'
print "Loading configuration data..."
config = YAML.load_file('config.yml')
puts "Done."
print "Initializing database connection..."
DATABASE =['mongodb']['db'])
puts "Done. Connected -> #{DATABASE}"
print "Defining plugins..."
bot = LibScosugBot::Bot.setup(config['server'], config['nick'], [config['channels']], DATABASE)
puts "Done."
puts "Starting up!"
Jump to Line
Something went wrong with that request. Please try again.