2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
.. _plugin-owner:
|
|
|
|
|
|
|
|
The Owner plugin
|
|
|
|
================
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-load:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
load [--deprecated] <plugin>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Loads the plugin *<plugin>* from any of the directories in
|
|
|
|
conf.supybot.directories.plugins; usually this includes the main
|
|
|
|
installed directory and 'plugins' in the current directory.
|
|
|
|
*--deprecated* is necessary if you wish to load deprecated plugins.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-rename:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
rename <plugin> <command> <new name>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Renames *<command>* in *<plugin>* to the *<new name>*.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-enable:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
enable [<plugin>] <command>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Enables the command *<command>* for all users. If *<plugin>*
|
|
|
|
if given, only enables the *<command>* from *<plugin>*. This command is
|
|
|
|
the inverse of disable.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-defaultcapability:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
defaultcapability {add|remove} <capability>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Adds or removes (according to the first argument) *<capability>* from the
|
|
|
|
default capabilities given to users (the configuration variable
|
|
|
|
supybot.capabilities stores these).
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-reloadlocale:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
reloadlocale takes no argument
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Reloads the locale of the bot.
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-ircquote:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
ircquote <string to be sent to the server>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Sends the raw string given to the server.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-disable:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
disable [<plugin>] <command>
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Disables the command *<command>* for all users (including the owners).
|
|
|
|
If *<plugin>* is given, only disables the *<command>* from *<plugin>*. If
|
|
|
|
you want to disable a command for most users but not for yourself, set
|
|
|
|
a default capability of -plugin.command or -command (if you want to
|
|
|
|
disable the command in all plugins).
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-upkeep:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
upkeep [<level>]
|
|
|
|
^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Runs the standard upkeep stuff (flushes and gc.collects()). If given
|
|
|
|
a level, runs that level of upkeep (currently, the only supported
|
|
|
|
level is "high", which causes the bot to flush a lot of caches as well
|
|
|
|
as do normal upkeep stuff.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-flush:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
flush
|
|
|
|
^^^^^
|
|
|
|
|
|
|
|
Runs all the periodic flushers in world.flushers. This includes
|
|
|
|
flushing all logs and all configuration changes to disk.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-unrename:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
unrename <plugin>
|
|
|
|
^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Removes all renames in *<plugin>*. The plugin will be reloaded after
|
|
|
|
this command is run.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-reset:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
reset
|
|
|
|
^^^^^^
|
|
|
|
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-quit:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
quit [<text>]
|
|
|
|
^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Exits the bot with the QUIT message *<text>*. If *<text>* is not given,
|
|
|
|
the default quit message (supybot.plugins.Owner.quitMsg) will be used.
|
|
|
|
If there is no default quitMsg set, your nick will be used.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-unload:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
unload <plugin>
|
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Unloads the callback by name; use the 'list' command to see a list
|
|
|
|
of the currently loaded callbacks. Obviously, the Owner plugin can't
|
|
|
|
be unloaded.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-reload:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
reload <plugin>
|
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Unloads and subsequently reloads the plugin by name; use the 'list'
|
|
|
|
command to see a list of the currently loaded plugins.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-announce:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
announce <text>
|
|
|
|
^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Sends *<text>* to all channels the bot is currently on and not
|
|
|
|
lobotomized in.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-defaultplugin:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
defaultplugin [--remove] <command> [<plugin>]
|
|
|
|
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Sets the default plugin for *<command>* to *<plugin>*. If *--remove* is
|
|
|
|
given, removes the current default plugin for *<command>*. If no plugin
|
|
|
|
is given, returns the current default plugin set for *<command>*. See
|
|
|
|
also, supybot.commands.defaultPlugins.importantPlugins.
|
|
|
|
|
|
|
|
|
2011-06-28 08:13:53 +02:00
|
|
|
.. _command-logmark:
|
2011-06-28 08:11:32 +02:00
|
|
|
|
|
|
|
logmark <text>
|
|
|
|
^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
Logs *<text>* to the global Supybot log at critical priority. Useful for
|
|
|
|
marking logfiles for later searching.
|
|
|
|
|
|
|
|
|