2011-06-28 08:11:32 +02:00
.. _plugin-dict:
The Dict plugin
===============
2011-10-29 13:19:46 +02:00
Commands
--------
2011-06-28 17:29:38 +02:00
.. _command-dict-synonym:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
dict synonym <word> [<word> ...]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Gets a random synonym from the Moby Thesaurus (moby-thes) database.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
If given many words, gets a random synonym for each of them.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Quote phrases to have them treated as one lookup word.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-dict-dict:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
dict dict [<dictionary> ] <word>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
Looks up the definition of *<word>* on the dictd server specified by
the :ref: `supybot.plugins.Dict.server` config variable.
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
.. _command-dict-random:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
dict random
^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns a random valid dictionary.
2011-06-28 17:29:38 +02:00
.. _command-dict-dictionaries:
2011-06-28 08:11:32 +02:00
2011-06-28 17:29:38 +02:00
dict dictionaries
^^^^^^^^^^^^^^^^^
2011-06-28 08:11:32 +02:00
Returns the dictionaries valid for the dict command.
2011-10-28 22:49:04 +02:00
.. _plugin-dict-config:
Configuration
-------------
.. _supybot.plugins.Dict.default:
supybot.plugins.Dict.default
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value:
Determines the default dictionary the bot will ask for definitions in. If this value is '*' (without the quotes) the bot will use all dictionaries to define words.
.. _supybot.plugins.Dict.public:
supybot.plugins.Dict.public
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: True
Determines whether this plugin is publicly visible.
.. _supybot.plugins.Dict.server:
supybot.plugins.Dict.server
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Default value: dict.org
Determines what server the bot will retrieve definitions from.