Add commands to add and delete contacts. Fixes #885

This commit is contained in:
Tulir Asokan
2023-11-10 14:42:06 +02:00
parent d72897dfe8
commit 897a35be5d
2 changed files with 76 additions and 2 deletions
+2
View File
@@ -159,6 +159,7 @@ def command_handler(
needs_admin: bool = False,
management_only: bool = False,
name: str | None = None,
aliases: list[str] | None = None,
help_text: str = "",
help_args: str = "",
help_section: HelpSection = None,
@@ -167,6 +168,7 @@ def command_handler(
_func,
_handler_class=CommandHandler,
name=name,
aliases=aliases,
help_text=help_text,
help_args=help_args,
help_section=help_section,