1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-23 03:24:20 +00:00

📔 Improve Command documentation

This commit is contained in:
Steffo 2020-12-28 14:49:17 +01:00
parent 6036837c0d
commit 489d2ef0be

View file

@ -15,7 +15,7 @@ log = logging.getLogger(__name__)
class Command:
"""
A decorator to create a command that can be called from the chat by entering a certain :attr:`.pattern` of
A class that allows creating commands which can be called from the chat by entering a certain :attr:`.pattern` of
characters:
.. code-block:: text
@ -23,6 +23,7 @@ class Command:
/echo Hello!
# Hello!
.. todo:: Improve the docstring of :class:`.Command`.
"""
def __init__(self,