Use hardcoded token as in the other examples (#809)

This commit is contained in:
Gabben 2022-01-27 01:25:40 +04:00 committed by GitHub
parent dd4cc7fbbb
commit b545a5ff2e
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)