mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 18:15:28 +03:00
work on v0.3.0
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from rich.console import Console
|
||||
|
||||
from argenta.command.entity import Command
|
||||
from argenta.router import Router
|
||||
|
||||
from ..handlers.handlers_implementation.help_command import help_command
|
||||
@@ -12,19 +14,19 @@ settings_router: Router = Router(title='Settings points:')
|
||||
console = Console()
|
||||
|
||||
|
||||
@work_router.command(command='0', description='Get Help')
|
||||
@work_router.command(command=Command(command='0', description='Get Help'))
|
||||
def command_help():
|
||||
help_command()
|
||||
|
||||
|
||||
@work_router.command(command='1', description='Start Solving')
|
||||
'''@work_router.command(command='1', description='Start Solving')
|
||||
def command_start_solving():
|
||||
start_solving_command()
|
||||
|
||||
|
||||
@settings_router.command(command='U', description='Update WordMath')
|
||||
def command_update():
|
||||
upgrade_command()
|
||||
upgrade_command()'''
|
||||
|
||||
|
||||
@work_router.unknown_command
|
||||
|
||||
Reference in New Issue
Block a user