mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
Update documentation and code snippets
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user