Limnoria/plugins/Todo
Valentin Lorentz 833af36b08 all plugins: auto-generate READMEs
Starting with this commit, there should be no "original" text
in READMEs.
Instead, the entire text should be in docstrings, and READMEs
should be automatically generated from these docstrings.

Motivation:

* The same help is available both via IRC and in the README
  (although the README can be more detailed, as only the first
  paragraph will be shown on IRC)
* This will allow auto-generating plugin help on docs.limnoria.net
  using the same content as the README, as it's sourced from the
  docstrings

Additionally, this converts all READMEs from Markdown to ReST,
because the documentation already uses ReST, and other docstrings
in the codebase are in ReST for this reason.
2021-04-05 17:42:31 +02:00
..
locales Fix msgfmt warnings. 2020-03-26 22:10:28 +01:00
__init__.py Use importlib instead of imp. 2020-01-26 12:00:08 +01:00
config.py Fix neutral pronouns. 2014-04-11 21:56:42 +00:00
messages.pot Squashed commit of the following: 2014-12-20 14:37:27 +01:00
plugin.py Remove use of fix_dict fixer. 2015-08-08 23:08:49 +02:00
README.rst all plugins: auto-generate READMEs 2021-04-05 17:42:31 +02:00
test.py plugins: use r'' strings to fix DeprecationWarning in test cases (#1328) 2020-01-26 11:14:25 -08:00

Documentation for the Todo plugin for Supybot

Purpose

The Todo plugin allows registered users to keep their own personal list of tasks to do, with an optional priority for each.

Usage

This plugin allows you to create your own personal to-do list on the bot.

Commands

add [--priority=<num>] <text>

Adds <text> as a task in your own personal todo list. The optional priority argument allows you to set a task as a high or low priority. Any integer is valid.

change <task id> <regexp>

Modify the task with the given id using the supplied regexp.

remove <task id> [<task id> ...]

Removes <task id> from your personal todo list.

search [--{regexp} <value>] [<glob> <glob> ...]

Searches your todos for tasks matching <glob>. If --regexp is given, its associated value is taken as a regexp and matched against the tasks.

setpriority <id> <priority>

Sets the priority of the todo with the given id to the specified value.

todo [<username>] [<task id>]

Retrieves a task for the given task id. If no task id is given, it will return a list of task ids that that user has added to their todo list.

Configuration

supybot.plugins.Todo.allowThirdpartyReader

This config variable defaults to "False", is not network-specific, and is not channel-specific.

Determines whether users can read the todo-list of another user.

supybot.plugins.Todo.public

This config variable defaults to "True", is not network-specific, and is not channel-specific.

Determines whether this plugin is publicly visible.