async def flud(accou....):
member_n = 0
while True:
app = Client(name=....)
text = choice(messages)
async def in_flud():
async with app:
await app.send_message(chat_id=chat.id, text=text)
await app.stop()
asyncio.create_task(await app_flud.run(await in_flud()))
await asyncio.sleep(delay)
но так выводиться ошибка:
raise RuntimeError('This event loop is already running')
RuntimeError: This event loop is already running
sys:1: RuntimeWarning: coroutine 'idle' was never awaited
но так выводиться ошибка: