Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Ruby
branch: master

This branch is 28 commits behind cinchrb:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib/cinch/plugins
LICENSE
README.md
cinch-identify.gemspec

README.md

Identify plugin

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.

Installation

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

Commands

None.

Options

:type

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.

:username

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.)

:password

The password to use for authentication

Example configuration

Check the install instructions for an example configuration.

Warning

Be warned that, when using the :nickserv, :quakenet or :kreynet types, the password will show up in the logs.

Something went wrong with that request. Please try again.