From 0cc67fa83d0240dd243642d13d2eb4c82f747962 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Tshipenchko?= Date: Mon, 2 Jan 2023 19:46:12 +0600 Subject: [PATCH] Removed unused parameter --- examples/webhook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/webhook.py b/examples/webhook.py index baa9a26d..b1494225 100644 --- a/examples/webhook.py +++ b/examples/webhook.py @@ -44,7 +44,7 @@ async def on_startup(bot: Bot, webhook_url: str): @router.shutdown() -async def on_shutdown(bot: Bot, dispatcher: Dispatcher): +async def on_shutdown(bot: Bot): logging.warning("Shutting down..") # Insert code here to run it before shutdown