Advertisement
Namasteh

Untitled

Feb 10th, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.70 KB | None | 0 0
  1. require 'cinch'
  2. require 'ostruct'
  3. require_relative "lib/eve/plugins/plugin_management"
  4. require_relative "lib/eve/plugins/weather"
  5. require_relative "lib/eve/plugins/valentine_boxx"
  6.  
  7.  
  8. Config = OpenStruct.new
  9.  
  10. Config.dispatch = ["foo"]
  11.  
  12.  
  13. bot = Cinch::Bot.new do
  14.   configure do |c|
  15.   c.server = "s4tisf4ction.catiechat.net"
  16.   c.channels = ["#Eve", "#test"]
  17.     c.nick = "Aly"
  18.     c.user = "Eve"
  19.     c.realname = "Eve Test Version"
  20.   c.password = "nspass"
  21.   c.plugins.plugins = [Cinch::Plugins::Weather,
  22.                        Cinch::Plugins::PluginManagement,
  23.                        Cinch::Plugins::ValentineBoxx];
  24.   c.plugins.options[Cinch::Plugins::Weather] = { key: 'key' }
  25.  
  26.  
  27.   end
  28. end
  29.  
  30. bot.start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement