T
Size: a a a
T
T
БО
БО
Y🏳
🥶
Y🏳
БО
🥶
БО
🥶
Y🏳
D
import logging
from aiogram import Bot, types
from aiogram.dispatcher import Dispatcher
from aiogram.utils import executor
from config import token
import aiohttp
from aiogram.contrib.middlewares.logging import LoggingMiddleware
logging.basicConfig(level=logging.DEBUG)
bot = Bot(token=token, parse_mode='HTML')
dp = Dispatcher(bot)
dp.middleware.setup(LoggingMiddleware())
print("everything loaded")
@dp.message_handler(commands=["start"])
async def start(msg):
print("start")
await bot.send_message(msg.from_user.id, "Hi!")
if __name__ == '__main__':
executor.start_polling(dp, skip_updates=True, reset_webhook=True)
D
DEBUG:aiogram.Middleware:Loaded middleware 'LoggingMiddleware'
everything loaded
DEBUG:asyncio:Using selector: EpollSelector
DEBUG:aiogram:Make request: "getMe" with data: "{}" and files "None"
^CWARNING:aiogram:Goodbye!
D
D
F
D
D
T