<Ч
Size: a a a
<Ч
<Ч
T
T
<Ч
T
T
<Ч
Аt
File "C:\Users\anyap\Anaconda3\lib\asyncio\base_events.py", line 552, in _check_running"
raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
<Ч
T
Аt
import logging
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = token
logging.basicConfig(level=logging.INFO)
bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)
@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
await message.reply('Hi!')
@dp.message_handler()
async def echo(message: types.Message):
await message.answer(message.text)
if name == 'main':
executor.start_polling(dp, skip_updates=True)
<Ч
<Ч
import logging
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = token
logging.basicConfig(level=logging.INFO)
bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)
@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
await message.reply('Hi!')
@dp.message_handler()
async def echo(message: types.Message):
await message.answer(message.text)
if name == 'main':
executor.start_polling(dp, skip_updates=True)
T
T
import logging
from aiogram import Bot, Dispatcher, executor, types
API_TOKEN = token
logging.basicConfig(level=logging.INFO)
bot = Bot(token=API_TOKEN)
dp = Dispatcher(bot)
@dp.message_handler(commands=['start', 'help'])
async def send_welcome(message: types.Message):
await message.reply('Hi!')
@dp.message_handler()
async def echo(message: types.Message):
await message.answer(message.text)
if name == 'main':
executor.start_polling(dp, skip_updates=True)
Аt
Аt
SH
T