1
0
mirror of https://github.com/Mikaela/Limnoria.git synced 2024-12-04 17:09:24 +01:00
Limnoria/plugins/Anonymous
Valentin Lorentz 9ab908759a Use importlib instead of imp.
importlib is deprecated.
2020-01-26 12:00:08 +01:00
..
locales Alias & Anonymous: add l10n-es 2015-01-01 19:38:37 +02: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: Use msg.channel instead of msg.args[0] + give network name to self.registryValue. 2019-08-24 23:35:01 +02:00
README.md Anonymous: remove dangerous example from README 2015-01-18 21:09:26 +02:00
test.py Replace failUnless/failIf with assertTrue/assertFalse. 2020-01-26 11:14:18 +01: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

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.