Limnoria/plugins/Anonymous
James McCoy a629f51328 Anonymous: Move "say $nick" functionality to new tell command
Allowing Anonymous.say to send a message to either a nick or an
(implicit) channel through the use of first('nick', 'inChannel') changed
the behavior of the command by making it impossible for 'inChannel' to
take effect.

This meant that any previous users of the command that expected "say
some text" to send "some text" to the current channel would instead try
to send "text" to the user "some".  Depending on the value of
conf.plugins.Anonymous.allowPrivateTarget, this would result in either
an error or a strange message to a random user.

Creating a new tell command solves this issue as Anonymous.channel now
goes back to its simple 'inChannel' wrapper.

Signed-off-by: James McCoy <vega.james@gmail.com>
2014-07-09 21:03:26 -04:00
..
__init__.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
config.py Change the modeline to use softtabstop instead of tabstop. 2006-02-11 15:52:51 +00:00
plugin.py Anonymous: Move "say $nick" functionality to new tell command 2014-07-09 21:03:26 -04:00
README.txt Anonymous: added readme 2012-09-04 22:36:20 -04: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.

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