From 2ee9dae4c8c354cc04a8705563b3f60722441564 Mon Sep 17 00:00:00 2001 From: Majajashka <96516033+Majajashka@users.noreply.github.com> Date: Sat, 4 Jan 2025 14:25:57 +0400 Subject: [PATCH] Update multibot.py Remove unused arg --- examples/multibot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/multibot.py b/examples/multibot.py index d5dbe5fc..4ef8b69d 100644 --- a/examples/multibot.py +++ b/examples/multibot.py @@ -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}")