833af36b08
Starting with this commit, there should be no "original" text in READMEs. Instead, the entire text should be in docstrings, and READMEs should be automatically generated from these docstrings. Motivation: * The same help is available both via IRC and in the README (although the README can be more detailed, as only the first paragraph will be shown on IRC) * This will allow auto-generating plugin help on docs.limnoria.net using the same content as the README, as it's sourced from the docstrings Additionally, this converts all READMEs from Markdown to ReST, because the documentation already uses ReST, and other docstrings in the codebase are in ReST for this reason. |
||
---|---|---|
.. | ||
locales | ||
__init__.py | ||
config.py | ||
messages.pot | ||
plugin.py | ||
README.rst | ||
test.py |
Documentation for the Seen plugin for Supybot
Purpose
Keeps track of the last time a user was seen on a channel and what they last said. It also allows you to see what you missed since you parted the channel.
Usage
This plugin allows you to see when and what someone last said and what you missed since you left a channel.
Commands
- any [<channel>] [--user <name>] [<nick>]
-
Returns the last time <nick> was seen and what <nick> was last seen doing. This includes any form of activity, instead of just PRIVMSGs. If <nick> isn't specified, returns the last activity seen in <channel>. If --user is specified, looks up name in the user database and returns the last time user was active in <channel>. <channel> is only necessary if the message isn't sent on the channel itself.
- last [<channel>]
-
Returns the last thing said in <channel>. <channel> is only necessary if the message isn't sent in the channel itself.
- seen [<channel>] <nick>
-
Returns the last time <nick> was seen and what <nick> was last seen saying. <channel> is only necessary if the message isn't sent on the channel itself. <nick> may contain * as a wildcard.
- since [<channel>] [<nick>]
-
Returns the messages since <nick> last left the channel. If <nick> is not given, it defaults to the nickname of the person calling the command.
- user [<channel>] <name>
-
Returns the last time <name> was seen and what <name> was last seen saying. This looks up <name> in the user seen database, which means that it could be any nick recognized as user <name> that was seen. <channel> is only necessary if the message isn't sent in the channel itself.
Configuration
- supybot.plugins.Seen.minimumNonWildcard
-
This config variable defaults to "2", is network-specific, and is channel-specific.
The minimum non-wildcard characters required to perform a 'seen' request. Of course, it only applies if there is a wildcard in the request.
- supybot.plugins.Seen.public
-
This config variable defaults to "True", is not network-specific, and is not channel-specific.
Determines whether this plugin is publicly visible.
- supybot.plugins.Seen.showLastMessage
-
This config variable defaults to "True", is network-specific, and is channel-specific.
Determines whether the last message will be displayed with @seen. Useful for keeping messages from a channel private.