mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Update multibot.py
Remove unused arg
This commit is contained in:
parent
44bd8fe103
commit
2ee9dae4c8
1 changed files with 1 additions and 1 deletions
|
|
@ -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}")
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue