Limnoria/plugins/Anonymous
Mikaela Suomalainen f44cc389a9 Anonymous: add another example & add notice about...
...this plugin not meant for identifying even if it's possible and tell
how the identifying should happen.
2014-06-08 13:37:59 +03:00
..
locales My name is Mikaela! 2014-03-22 12:01:11 +02:00
__init__.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
config.py Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
messages.pot PluginDownloader: update l10n-fi. 2014-03-22 16:38:16 +02:00
plugin.py Fixed the last fix in Anonymous which broke the ability to query via say 2013-04-22 23:42:42 +00:00
README.md Anonymous: add another example & add notice about... 2014-06-08 13:37:59 +03:00
test.py Anonymous: Use assertEqual in tests instead of failUnless(... == ...). 2013-04-22 17:46:35 +00: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.