Skip to content

Commit

Permalink
add !command reset
Browse files Browse the repository at this point in the history
  • Loading branch information
otothea committed Feb 13, 2020
1 parent c01ea7d commit e3f267e
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions docs/commands/command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The ``!command`` command is used to create/edit/delete/enable/disable `custom co
- ``list`` - List commands `view docs`__
- ``new`` - Create a new command `view docs`__
- ``permission`` - Edit command minimum permission `view docs`__
- ``reset`` - Reset the command use counter `view docs`__

__ #delete
__ #disable
Expand All @@ -22,6 +23,7 @@ __ #info
__ #list
__ #new
__ #permission
__ #reset

.. note::

Expand Down Expand Up @@ -129,7 +131,7 @@ Usage:
!command new ``<name>`` ``<response>``

Arguments:
* ``name`` **<required>** - The name of the command to delete
* ``name`` **<required>** - The name of the command
* ``response`` **<required>** - The command response

Example:
Expand All @@ -146,11 +148,27 @@ Usage:
!command permission ``<name>`` ``<permission=everyone|regs|subs|mods|admin>``

Arguments:
* ``name`` **<required>** - The name of the command to delete
* ``name`` **<required>** - The name of the command to update
* ``permission`` **<required>** - The minimum permission required to use the command (valid values: ``everyone``, ``regs``, ``subs``, ``mods``, ``admin``)

Example:
::

user: !command permission !social everyone
botisimo: Command updated: !social

reset
^^^^^
Reset the command use counter

Usage:
!command reset ``<name>``

Arguments:
* ``name`` **<required>** - The name of the command

Example:
::

user: !command reset !social
botisimo: Command reset: !social

0 comments on commit e3f267e

Please sign in to comment.