Limnoria/plugins/Services
Valentin Lorentz 833af36b08 all plugins: auto-generate READMEs
Starting with this commit, there should be no "original" text
in READMEs.
Instead, the entire text should be in docstrings, and READMEs
should be automatically generated from these docstrings.

Motivation:

* The same help is available both via IRC and in the README
  (although the README can be more detailed, as only the first
  paragraph will be shown on IRC)
* This will allow auto-generating plugin help on docs.limnoria.net
  using the same content as the README, as it's sourced from the
  docstrings

Additionally, this converts all READMEs from Markdown to ReST,
because the documentation already uses ReST, and other docstrings
in the codebase are in ReST for this reason.
2021-04-05 17:42:31 +02:00
..
locales Fix msgfmt warnings. 2020-03-26 22:10:28 +01:00
__init__.py all plugins: auto-generate READMEs 2021-04-05 17:42:31 +02:00
config.py Services: Add support for network-specific password. 2019-08-25 14:08:11 +02:00
messages.pot PluginDownloader: update l10n-fi. 2014-03-22 16:38:16 +02:00
plugin.py Factoids, Services: Fix crash when imported by supybot-plugin-doc 2021-04-05 11:30:59 +02:00
README.rst all plugins: auto-generate READMEs 2021-04-05 17:42:31 +02:00
test.py Services: Add support for batches as reply to REGISTER/VERIFY. 2021-01-25 22:03:08 +01:00

Documentation for the Services plugin for Supybot

Purpose

Services: Handles management of nicks with NickServ, and ops with ChanServ; to (re)gain access to its own nick and channels.

Usage

This plugin handles dealing with Services on networks that provide them. Basically, you should use the "password" command to tell the bot a nick to identify with and what password to use to identify with that nick. You can use the password command multiple times if your bot has multiple nicks registered. Also, be sure to configure the NickServ and ChanServ configuration variables to match the NickServ and ChanServ nicks on your network. Other commands such as identify, op, etc. should not be necessary if the bot is properly configured.

Commands

ghost [<nick>]

Ghosts the bot's given nick and takes it. If no nick is given, ghosts the bot's configured nick and takes it.

identify takes no arguments

Identifies with NickServ using the current nick.

invite [<channel>]

Attempts to get invited by ChanServ to <channel>. <channel> is only necessary if the message isn't sent in the channel itself, but chances are, if you need this command, you're not sending it in the channel itself.

nicks takes no arguments

Returns the nicks that this plugin is configured to identify and ghost with.

op [<channel>]

Attempts to get opped by ChanServ in <channel>. <channel> is only necessary if the message isn't sent in the channel itself.

password <nick> [<password>]

Sets the NickServ password for <nick> to <password>. If <password> is not given, removes <nick> from the configured nicks.

register [<network>] <password> [<email>]

Uses the experimental REGISTER command to create an account for the bot on the <network>, using the <password> and the <email> if provided. Some networks may require the email. You may need to use the 'services verify' command afterward to confirm your email address.

unban [<channel>]

Attempts to get unbanned by ChanServ in <channel>. <channel> is only necessary if the message isn't sent in the channel itself, but chances are, if you need this command, you're not sending it in the channel itself.

verify [<network>] <account> <code>

If the <network> requires a verification code, you need to call this command with the code the server gave you to finish the registration.

voice [<channel>]

Attempts to get voiced by ChanServ in <channel>. <channel> is only necessary if the message isn't sent in the channel itself.

Configuration

supybot.plugins.Services.ChanServ

This config variable defaults to "ChanServ", is network-specific, and is not channel-specific.

Determines what nick the 'ChanServ' service has.

supybot.plugins.Services.ChanServ.halfop

This config variable defaults to "False", is network-specific, and is channel-specific.

Determines whether the bot will request to get half-opped by the ChanServ when it joins the channel.

supybot.plugins.Services.ChanServ.op

This config variable defaults to "False", is network-specific, and is channel-specific.

Determines whether the bot will request to get opped by the ChanServ when it joins the channel.

supybot.plugins.Services.ChanServ.password

This config variable defaults to "", is network-specific, and is channel-specific.

Determines what password the bot will use with ChanServ.

supybot.plugins.Services.ChanServ.voice

This config variable defaults to "False", is network-specific, and is channel-specific.

Determines whether the bot will request to get voiced by the ChanServ when it joins the channel.

supybot.plugins.Services.NickServ

This config variable defaults to "NickServ", is network-specific, and is not channel-specific.

Determines what nick the 'NickServ' service has.

supybot.plugins.Services.disabledNetworks

This config variable defaults to "QuakeNet", is not network-specific, and is not channel-specific.

Determines what networks this plugin will be disabled on.

supybot.plugins.Services.ghostDelay

This config variable defaults to "60", is network-specific, and is not channel-specific.

Determines how many seconds the bot will wait between successive GHOST attempts. Set this to 0 to disable GHOST.

supybot.plugins.Services.nicks

This config variable defaults to " ", is network-specific, and is not channel-specific.

Determines what nicks the bot will use with services.

supybot.plugins.Services.noJoinsUntilIdentified

This config variable defaults to "False", is network-specific, and is not channel-specific.

Determines whether the bot will not join any channels until it is identified. This may be useful, for instances, if you have a vhost that isn't set until you're identified, or if you're joining +r channels that won't allow you to join unless you identify.

supybot.plugins.Services.public

This config variable defaults to "True", is not network-specific, and is not channel-specific.

Determines whether this plugin is publicly visible.