Limnoria/plugins/Anonymous
Valentin Lorentz 6f19088724 Merge remote-tracking branch 'supybot/master' into testing
Conflicts:
	.gitignore
	plugins/Alias/plugin.py
	plugins/Anonymous/plugin.py
	plugins/Anonymous/test.py
	setup.py
	src/callbacks.py
2014-07-12 09:48:27 +02: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 Merge remote-tracking branch 'supybot/master' into testing 2014-07-12 09:48:27 +02: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.