This plugin allows Cinch to automatically identify with services. Currently, QuakeNet, KreyNet and all networks using NickServ are supported.
For QuakeNet, both the normal auth and the more secure challengeauth commands are supported.
First install the gem by running: [sudo] gem install cinch-identify
Then load it in your bot:
require "cinch"
require "cinch/plugins/identify"
bot = Cinch::Bot.new do
configure do |c|
# add all required options here
c.plugins.plugins = [Cinch::Plugins::Identify] # optionally add more plugins
c.plugins.options[Cinch::Plugins::Identify] = {
:username => "my_username",
:password => "my secret password",
:type => :nickserv,
}
end
end
bot.start
None.
The type of authentication. :nickserv
for NickServ, :quakenet
for
the insecure auth command on QuakeNet and :secure_quakenet
or
:challengeauth
for the more secure challengeauth. :kreynet
for
KreyNet.
The username to use for authentication. Do not set this when using NickServ on a network that only supports identifying as the current nick (e.g. dancer-ircd.)
The password to use for authentication
Check the install instructions for an example configuration.
Be warned that, when using the :nickserv
, :quakenet
or :kreynet
types, the password will show up in the logs.