require 'Peppermill/version'
require 'Peppermill/peppershaker'
require 'Peppermill/admin'
require 'dotenv'


Dotenv.load!
bot = Cinch::Bot.new do
  configure do |c|
    c.user            = 'Peppermill'
    c.nick            = 'Peppermill'
    c.server          = 'irc.synirc.net'
    c.channels        = %w(#saltybet)
    c.plugins.plugins = [Peppermill::PepperShaker, Peppermill::Admin]
  end

  on :connect do |m|
    User('nickserv').send("identify #{ENV['PASSWORD']}")
  end
end
bot.start


require 'Peppermill/version'
require 'Peppermill/peppershaker'
require 'Peppermill/admin'
require 'dotenv'


Dotenv.load!
bot = Cinch::Bot.new do
  configure do |c|
    c.user            = 'Peppermill'
    c.nick            = 'Peppermill'
    c.server          = 'irc.synirc.net'
    c.channels        = %w(#saltybet)
    c.plugins.plugins = [Peppermill::PepperShaker, Peppermill::Admin]
  end

  on :connect do |m|
    unset_mode 'x'
    User('nickserv').send("identify #{ENV['PASSWORD']}")
  end
end
bot.start


Disable mode X on bot
Disable mode X on bot
