2021-04-05 17:29:49 +02:00
.. _plugin-Seen:
Documentation for the Seen plugin for Supybot
=============================================
Purpose
-------
2021-12-04 02:50:28 +01:00
2021-04-05 17:29:49 +02:00
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
-----
2021-12-04 02:50:28 +01:00
2021-04-05 17:29:49 +02:00
This plugin allows you to see when and what someone last said and
what you missed since you left a channel.
2021-04-05 22:56:40 +02:00
.. _commands-Seen:
2021-04-05 17:29:49 +02:00
Commands
--------
2021-12-04 02:50:28 +01:00
2021-04-17 20:09:33 +02:00
.. _command-seen-any:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _command-seen-last:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
last [<channel> ]
Returns the last thing said in <channel>. <channel> is only necessary if the message isn't sent in the channel itself.
2021-04-17 20:09:33 +02:00
.. _command-seen-seen:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _command-seen-since:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _command-seen-user:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _conf-Seen:
2021-04-05 17:29:49 +02:00
Configuration
-------------
2021-04-17 20:09:33 +02:00
.. _conf-supybot.plugins.Seen.minimumNonWildcard:
2021-04-22 00:29:15 +02:00
2021-04-05 17:29:49 +02:00
supybot.plugins.Seen.minimumNonWildcard
2021-12-04 03:19:12 +01:00
This config variable defaults to "2", is network-specific, and is channel-specific.
2021-04-05 17:29:49 +02:00
The minimum non-wildcard characters required to perform a 'seen' request. Of course, it only applies if there is a wildcard in the request.
2021-04-17 20:09:33 +02:00
.. _conf-supybot.plugins.Seen.public:
2021-04-22 00:29:15 +02:00
2021-04-05 17:29:49 +02:00
supybot.plugins.Seen.public
2021-12-04 03:19:12 +01:00
This config variable defaults to "True", is not network-specific, and is not channel-specific.
2021-04-05 17:29:49 +02:00
Determines whether this plugin is publicly visible.
2021-04-17 20:09:33 +02:00
.. _conf-supybot.plugins.Seen.showLastMessage:
2021-04-22 00:29:15 +02:00
2021-04-05 17:29:49 +02:00
supybot.plugins.Seen.showLastMessage
2021-12-04 03:19:12 +01:00
This config variable defaults to "True", is network-specific, and is channel-specific.
2021-04-05 17:29:49 +02:00
Determines whether the last message will be displayed with @seen. Useful for keeping messages from a channel private.