Update multibot.py

Remove unused arg
This commit is contained in:
Majajashka 2025-01-04 14:25:57 +04:00 committed by GitHub
parent 44bd8fe103
commit 2ee9dae4c8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -54,7 +54,7 @@ async def command_add_bot(message: Message, command: CommandObject, bot: Bot) ->
return await message.answer(f"Bot @{bot_user.username} successful added")
async def on_startup(dispatcher: Dispatcher, bot: Bot):
async def on_startup(bot: Bot):
await bot.set_webhook(f"{BASE_URL}{MAIN_BOT_PATH}")