mirror of
https://github.com/koloideal/DutyLog.git
synced 2026-08-08 18:11:14 +03:00
update
This commit is contained in:
@@ -21,6 +21,7 @@ from dutylog.infrastructure.ioc import (
|
||||
ServiceProvider,
|
||||
)
|
||||
from dutylog.infrastructure.utils.config import load_config
|
||||
from dutylog.infrastructure.utils.bot_commands import set_bot_commands
|
||||
|
||||
|
||||
async def main():
|
||||
@@ -54,6 +55,9 @@ async def main():
|
||||
setup_dialogs(dp)
|
||||
setup_dishka(container, dp, auto_inject=True)
|
||||
|
||||
# Устанавливаем команды бота
|
||||
await set_bot_commands(bot)
|
||||
|
||||
await dp.start_polling(bot)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user