mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
11 lines
261 B
Python
11 lines
261 B
Python
from argenta import Command, Response, Router
|
|
from argenta.command import InputCommand
|
|
|
|
router = Router()
|
|
|
|
@router.command(Command('heLLo'))
|
|
def handler(_res: Response) -> None:
|
|
print("Hello World!")
|
|
|
|
router.finds_appropriate_handler(InputCommand('HellO'))
|