Files
2026-02-02 22:23:03 +03:00

14 lines
308 B
Python

from argenta import Router, Command, Response
router = Router(title="System")
@router.command(
Command(
"shutdown",
description="Shutdown the system",
aliases=["poweroff", "halt", "stop"]
)
)
def handle_shutdown(response: Response):
print("Shutting down the system...")