Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
bralbral committed Sep 23, 2023
1 parent 76ab37b commit 179ddb2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aiogram==3.0.0
aiogram==3.1.0
sulguk==0.5.0
pydantic-settings==2.0.3
pyaml==23.9.6
Expand Down
2 changes: 1 addition & 1 deletion src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async def main() -> None:
config: Config = load_config(config_path=os.path.join(ROOT_DIR, "config.yaml"))

dp: Dispatcher = setup_dispatcher(logger=logger, chat_id=config.chat_id)
bot: Bot = setup_bot(config=config.bot)
bot: Bot = await setup_bot(config=config.bot)

await logger.ainfo("Starting bot")
await dp.start_polling(bot, allowed_updates=dp.resolve_used_update_types())
Expand Down

0 comments on commit 179ddb2

Please sign in to comment.