mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
update
This commit is contained in:
@@ -1,10 +1,7 @@
|
||||
from argenta.command import Command
|
||||
from argenta.router import Router
|
||||
from argenta import Command, Response, Router
|
||||
|
||||
user_router = Router(title="User Management")
|
||||
|
||||
|
||||
@user_router.command(Command("add-user", description="Adds a new user"))
|
||||
def add_user_handler(response):
|
||||
# Логика добавления пользователя
|
||||
def add_user_handler(response: Response):
|
||||
print("User added successfully!")
|
||||
|
||||
Reference in New Issue
Block a user