2021-04-05 17:29:49 +02:00
.. _plugin-Todo:
Documentation for the Todo plugin for Supybot
=============================================
Purpose
-------
2021-12-04 02:50:28 +01:00
2021-04-05 17:29:49 +02:00
The Todo plugin allows registered users to keep their own personal list of
tasks to do, with an optional priority for each.
Usage
-----
2021-12-04 02:50:28 +01:00
2021-04-05 17:29:49 +02:00
This plugin allows you to create your own personal to-do list on
the bot.
2021-04-05 22:56:40 +02:00
.. _commands-Todo:
2021-04-05 17:29:49 +02:00
Commands
--------
2021-12-04 02:50:28 +01:00
2021-04-17 20:09:33 +02:00
.. _command-todo-add:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _command-todo-change:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
change <task id> <regexp>
Modify the task with the given id using the supplied regexp.
2021-04-17 20:09:33 +02:00
.. _command-todo-remove:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
remove <task id> [<task id> ...]
Removes <task id> from your personal todo list.
2021-04-17 20:09:33 +02:00
.. _command-todo-search:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _command-todo-setpriority:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
setpriority <id> <priority>
Sets the priority of the todo with the given id to the specified value.
2021-04-17 20:09:33 +02:00
.. _command-todo-todo:
2021-04-05 22:56:40 +02:00
2021-04-05 17:29:49 +02:00
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.
2021-04-17 20:09:33 +02:00
.. _conf-Todo:
2021-04-05 17:29:49 +02:00
Configuration
-------------
2021-04-17 20:09:33 +02:00
.. _conf-supybot.plugins.Todo.allowThirdpartyReader:
2021-04-22 00:29:15 +02:00
2021-04-05 17:29:49 +02:00
supybot.plugins.Todo.allowThirdpartyReader
2021-12-04 03:19:12 +01:00
This config variable defaults to "False", is not network-specific, and is not channel-specific.
2021-04-05 17:29:49 +02:00
Determines whether users can read the todo-list of another user.
2021-04-17 20:09:33 +02:00
.. _conf-supybot.plugins.Todo.public:
2021-04-22 00:29:15 +02:00
2021-04-05 17:29:49 +02:00
supybot.plugins.Todo.public
2021-12-04 03:19:12 +01:00
This config variable defaults to "True", is not network-specific, and is not channel-specific.
2021-04-05 17:29:49 +02:00
Determines whether this plugin is publicly visible.