Limnoria/plugins/Anonymous
2014-12-03 20:55:16 +01:00
..
locales Anonymous: update l10n-fi & messages.pot 2014-08-01 19:53:32 +03:00
__init__.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
config.py Anonymous: fix help for allowPrivateTarget 2014-10-09 13:32:19 -07:00
messages.pot Anonymous: update l10n-fi & messages.pot 2014-08-01 19:53:32 +03:00
plugin.py Anonymous: Better error when "tell" is disabled 2014-12-03 20:55:16 +01:00
README.md Anonymous: add another example & add notice about... 2014-06-08 13:37:59 +03:00
test.py Anonymous: Move "say $nick" functionality to new tell command 2014-07-09 21:03:26 -04:00

Anonymous allows you to send messages anonymously as the bot. If supybot.plugins.Anonymous.allowPrivateTarget is True, you can send messages in query too.

Usage examples

Identifying to NickServ

One usage example is to identify the bot with NickServ if it fails to identify for some reason.

However this isnt recommended unless you dont use CertFP.

SASL

@config networks.<network>.sasl.username NSACCOUNTNAME
@config networks.<network>.sasl.password NSPASSWORD

Next time when your bot connects it should identify before connecting with SASL.

CertFP

For help with generating the certificate please see this page.

When you have generated the certificate tell the bot to use it by either of thse two commands (or both). The first tells the bot to use the certificate everywhere and the second only on one network. If you run the first, the second isnt necressary unless you have multiple certificates.

@config protocols.irc.certfile /home/username/bot/bot.pem
@config networks.<network>.certfile /home/username/bot/bot.pem

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 wont see the messages that are sent to the bot.