Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'cinch'
- require 'ostruct'
- require_relative "lib/eve/plugins/plugin_management"
- require_relative "lib/eve/plugins/weather"
- require_relative "lib/eve/plugins/valentine_boxx"
- Config = OpenStruct.new
- Config.dispatch = ["foo"]
- bot = Cinch::Bot.new do
- configure do |c|
- c.server = "s4tisf4ction.catiechat.net"
- c.channels = ["#Eve", "#test"]
- c.nick = "Aly"
- c.user = "Eve"
- c.realname = "Eve Test Version"
- c.password = "nspass"
- c.plugins.plugins = [Cinch::Plugins::Weather,
- Cinch::Plugins::PluginManagement,
- Cinch::Plugins::ValentineBoxx];
- c.plugins.options[Cinch::Plugins::Weather] = { key: 'key' }
- end
- end
- bot.start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement