Update documentation and code snippets

This commit is contained in:
2025-12-02 11:22:31 +03:00
parent 2ff47398ba
commit 7c20bf296b
23 changed files with 63 additions and 62 deletions
+2 -1
View File
@@ -68,6 +68,7 @@ Router
Выбрасывается, если триггер команды в ``Command`` содержит пробелы. Триггеры должны быть одним словом.
**Неправильно:** ``Command("add user")``
**Правильно:** ``Command("add-user")``
.. py:exception:: RepeatedFlagNameException
@@ -81,7 +82,7 @@ Router
Command("send", flags=[
Flag("recipient"),
Flag("recipient")
Flag("recipient") # Duplicate!
])
.. py:exception:: RequiredArgumentNotPassedException