Use hardcoded token as in the other examples

This commit is contained in:
Gabben 2022-01-17 16:18:11 +00:00 committed by GitHub
parent 4d2d811386
commit 6436165aaa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)