<commit_before># 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 => "<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.
<commit_msg>fix displaying `require`<commit_after># 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 => "<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.

{'fraction_non_alphanumeric': 0.08645161290322581, 'fraction_numerical': 0.0, 'mean_word_length': 3.6145833333333335, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5718671', 'n_tokens_mistral': 905, 'n_tokens_neox': 880, 'n_words': 360}