diff --git a/server/custom.py b/server/custom.py index 8476640..e6d725b 100644 --- a/server/custom.py +++ b/server/custom.py @@ -130,4 +130,3 @@ class CustomRequestHandler(WebhookRequestHandler): :return: :class:`aiogram.Dispatcher` """ return Dispatcher.get_current() - diff --git a/server/server.py b/server/server.py index fd11bec..07ddb2c 100644 --- a/server/server.py +++ b/server/server.py @@ -1,6 +1,4 @@ -from aiogram import Bot as AioBot, Dispatcher -from aiogram.dispatcher.webhook import SendMessage, WebhookRequestHandler -from aiogram import types +from aiogram import Bot as AioBot from olgram.models.models import Bot from aiohttp import web from asyncio import get_event_loop