mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
10 lines
262 B
Python
10 lines
262 B
Python
from argenta import App
|
|
from argenta.command import InputCommand
|
|
|
|
|
|
def unknown_command_handler(command: InputCommand):
|
|
print(f"Unknown input command with trigger: {command.trigger}")
|
|
|
|
app: App = App()
|
|
app.set_unknown_command_handler(unknown_command_handler)
|