0.01
No commit activity in last 3 years
No release in over 3 years
A plugin allowing Cinch bots to automatically identify with services. Supported are NickServ, QuakeNet and KreyNet.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

~> 2.0
 Project Readme

Identify plugin

This plugin allows Cinch to automatically identify with services. Currently, DALnet, 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, :userserv for UserServ, :dalnet for DALnet, :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

:service_name

The nick name of the service to send the identification message to. This option is currently only being used for :userserv and defaults to "UserServ".

Example configuration

Check the install instructions for an example configuration.

Warning

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