From 6436165aaa12a21c9da9af0b4fbea8fec43c4fce Mon Sep 17 00:00:00 2001 From: Gabben <43146729+gabbhack@users.noreply.github.com> Date: Mon, 17 Jan 2022 16:18:11 +0000 Subject: [PATCH] Use hardcoded token as in the other examples --- examples/separate_api_route_example.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/separate_api_route_example.py b/examples/separate_api_route_example.py index 2f3cc61c..807a3b41 100644 --- a/examples/separate_api_route_example.py +++ b/examples/separate_api_route_example.py @@ -7,7 +7,9 @@ from aiogram.dispatcher.webhook import configure_app from aiohttp import web -bot = Bot(token=config.bot_token) +API_TOKEN = "BOT_TOKEN_HERE" + +bot = Bot(token=API_TOKEN) dp = Dispatcher(bot)