Update POD and README
authorMarius Gavrilescu <marius@ieval.ro>
Sat, 29 Aug 2015 21:58:52 +0000 (00:58 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sat, 29 Aug 2015 21:58:52 +0000 (00:58 +0300)
README
lib/POE/Component/IRC/Plugin/Seen.pm

diff --git a/README b/README
index 8610521c715c82af92eb4df3d784984361a8caf8..8e7f279760a9d3efacd733fe4e65c1205df38800 100644 (file)
--- a/README
+++ b/README
@@ -1,9 +1,14 @@
 POE-Component-IRC-Plugin-Seen version 0.001001
 ==============================================
 
-POE::Component::IRC::Plugin::Seen is a PoCo-IRC plugin that remembers what each person around it did last.
+POE::Component::IRC::Plugin::Seen is a PoCo-IRC plugin that remembers
+what each person around it did last. It remembers public messages,
+joins and parts.
 
-When somebody sends him a private message of the form 'seen NICKNAME' or somebody says 'botnick: seen NICKNAME' in a channel with the bot, the plugin answers with the last action NICKNAME did.
+When somebody sends him a private message of the form 'seen NICKNAME'
+or somebody says 'seen NICKNAME' or 'botnick: seen NICKNAME' in a
+channel with the bot, the plugin answers with the last action NICKNAME
+did. There can be an exclamation mark before the word 'seen'.
 
 INSTALLATION
 
@@ -23,7 +28,7 @@ This module requires these other modules and libraries:
 
 COPYRIGHT AND LICENCE
 
-Copyright (C) 2013,2014 by Marius Gavrilescu
+Copyright (C) 2013-2015 by Marius Gavrilescu
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself, either Perl version 5.14.2 or,
index a8f7d80d6b21fdde793bd044804d90368efb3d42..90a13a61be37da4766b43936ca71db13a1cddf0d 100644 (file)
@@ -100,11 +100,21 @@ POE::Component::IRC::Plugin::Seen - PoCo-IRC plugin that remembers seeing people
   my $irc = POE::Component::IRC->spawn;
   $irc->plugin_add(Seen => POE::Component::IRC::Plugin::Seen->new(filename => 'mycache.db'));
 
+  # In chat
+  # <mgv> Hi there!
+  # <foo> !seen mgv
+  # <bot> I last saw mgv [DATE] on channel #whatever saying Hi there!
+
 =head1 DESCRIPTION
 
-POE::Component::IRC::Plugin::Seen is a PoCo-IRC plugin that remembers what each person around it did last.
+POE::Component::IRC::Plugin::Seen is a PoCo-IRC plugin that remembers
+what each person around it did last. It remembers public messages,
+joins and parts.
 
-When somebody sends him a private message of the form 'seen NICKNAME' or somebody says 'botnick: seen NICKNAME' in a channel with the bot, the plugin answers with the last action NICKNAME did.
+When somebody sends him a private message of the form 'seen NICKNAME'
+or somebody says 'seen NICKNAME' or 'botnick: seen NICKNAME' in a
+channel with the bot, the plugin answers with the last action NICKNAME
+did. There can be an exclamation mark before the word 'seen'.
 
 =head1 METHODS
 
@@ -112,9 +122,12 @@ When somebody sends him a private message of the form 'seen NICKNAME' or somebod
 
 =item B<new>([I<filename> => value])
 
-Creates a new plugin object suitable for L<POE::Component::IRC>'s C<plugin_add> method.
+Creates a new plugin object suitable for L<POE::Component::IRC>'s
+C<plugin_add> method.
 
-Takes one optional argument, C<filename>, the name of the file to store the plugin's state in. If C<undef> or not given, it keeps the state in memory.
+Takes one optional argument, C<filename>, the name of the file to
+store the plugin's state in. If C<undef> or not given, it keeps the
+state in memory.
 
 =back
 
@@ -128,7 +141,7 @@ Marius Gavrilescu C<< <marius@ieval.ro> >>
 
 =head1 COPYRIGHT AND LICENSE
 
-Copyright (C) 2013,2014 by Marius Gavrilescu
+Copyright (C) 2013-2015 by Marius Gavrilescu
 
 This library is free software; you can redistribute it and/or modify
 it under the same terms as Perl itself, either Perl version 5.14.2 or,
This page took 0.012781 seconds and 4 git commands to generate.