2011-06-28 08:11:32 +02:00
.. _plugin-url:
The URL plugin
==============
2011-10-29 13:19:46 +02:00
Commands
--------
2011-06-28 17:29:38 +02:00
.. _command-url-stats:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
url stats [<channel> ]
^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns the number of URLs in the URL database. *<channel>* is only
required if the message isn't sent in the channel itself.
2011-06-28 17:29:38 +02:00
.. _command-url-last:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
url last [<channel> ] [--{from,with,without,near,proto} <value>] [--nolimit]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Gives the last URL matching the given criteria. *--from* is from whom
the URL came; *--proto* is the protocol the URL used; *--with* is something
inside the URL; *--without* is something that should not be in the URL;
*--near* is something in the same message as the URL; If *--nolimit* is
given, returns all the URLs that are found. to just the URL.
*<channel>* is only necessary if the message isn't sent in the channel
itself.
2011-10-28 22:49:04 +02:00
.. _plugin-url-config:
Configuration
-------------
.. _supybot.plugins.URL.nonSnarfingRegexp:
supybot.plugins.URL.nonSnarfingRegexp
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: None
Determines what URLs are not to be snarfed and stored in the database for the channel; URLs matching the given regexp will not be snarfed. Give the empty string if you have no URLs that you'd like to exclude from being snarfed.
.. _supybot.plugins.URL.public:
supybot.plugins.URL.public
^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: True
Determines whether this plugin is publicly visible.