mirror of
https://github.com/koloideal/Argenta.git
synced 2026-06-10 10:05:28 +03:00
17 lines
364 B
Python
17 lines
364 B
Python
from argenta import App, Orchestrator
|
|
from argenta.app import DynamicDividingLine
|
|
|
|
from .handlers import router
|
|
|
|
app = App(initial_message="metrics", prompt=">>> ", dividing_line=DynamicDividingLine('~'))
|
|
orchestrator = Orchestrator()
|
|
|
|
|
|
def main() -> None:
|
|
app.include_router(router)
|
|
orchestrator.start_polling(app)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
main()
|