Limnoria/plugins/Anonymous
2021-04-22 00:29:15 +02:00
..
locales Fix msgfmt warnings. 2020-03-26 22:10:28 +01:00
__init__.py Use importlib instead of imp. 2020-01-26 12:00:08 +01:00
config.py Anonymous: fix help for allowPrivateTarget 2014-10-09 13:32:19 -07:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
plugin.py all plugins: auto-generate READMEs 2021-04-05 17:42:31 +02:00
README.rst all plugins: regenerate READMEs 2021-04-22 00:29:15 +02:00
test.py Anonymous: Add CLIENTTAGDENY test 2021-03-18 20:28:15 +01:00

Documentation for the Anonymous plugin for Supybot

Purpose

Allows folks to talk through the bot anonymously.

Usage

This plugin allows users to act through the bot anonymously. The 'do' command has the bot perform an anonymous action in a given channel, and the 'say' command allows other people to speak through the bot. Since this can be fairly well abused, you might want to set supybot.plugins.Anonymous.requireCapability so only users with that capability can use this plugin. For extra security, you can require that the user be in the channel they are trying to address anonymously with supybot.plugins.Anonymous.requirePresenceInChannel, or you can require that the user be registered by setting supybot.plugins.Anonymous.requireRegistration.

Example: Proving that you are the owner

When you ask for cloak/vhost for your bot, the network operators will often ask you to prove that you own the bot. You can do this for example with the following method:

@load Anonymous
@config plugins.anonymous.requirecapability owner
@config plugins.anonymous.allowprivatetarget True
@anonymous say <operator nick> Hi, my owner is <your nick> :)

This * Loads the plugin. * Makes the plugin require that you are the owner

  • If anyone could send private messages as the bot, they could also access network services.
  • Allows sending private messages
  • Sends message Hi, my owner is <your nick> :) to operator nick.
    • Note that you won't see the messages that are sent to the bot.

Commands

do <channel> <action>

Performs <action> in <channel>.

react <channel> <reaction> <nick>

Sends the <reaction> to <nick>'s last message. <reaction> is typically a smiley or an emoji. This may not be supported on the current network, as this command depends on IRCv3 features. This is also not supported if supybot.protocols.irc.experimentalExtensions disabled (don't enable it unless you know what you are doing).

say <channel> <text>

Sends <text> to <channel>.

tell <nick> <text>

Sends <text> to <nick>. Can only be used if supybot.plugins.Anonymous.allowPrivateTarget is True.

Configuration

supybot.plugins.Anonymous.allowPrivateTarget

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

Determines whether the bot will allow the "tell" command to be used. If true, the bot will allow the "tell" command to send private messages to other users.

supybot.plugins.Anonymous.public

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

Determines whether this plugin is publicly visible.

supybot.plugins.Anonymous.requireCapability

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

Determines what capability (if any) the bot should require people trying to use this plugin to have.

supybot.plugins.Anonymous.requirePresenceInChannel

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

Determines whether the bot should require people trying to use this plugin to be in the channel they wish to anonymously send to.

supybot.plugins.Anonymous.requireRegistration

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

Determines whether the bot should require people trying to use this plugin to be registered.