From 489d2ef0bee6aab71411a04836292e8b33ab2904 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 28 Dec 2020 14:49:17 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=94=20Improve=20Command=20documentatio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- royalnet/engineer/command.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/royalnet/engineer/command.py b/royalnet/engineer/command.py index b44eef69..6f28f672 100644 --- a/royalnet/engineer/command.py +++ b/royalnet/engineer/command.py @@ -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,