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()
app.run(in_flud())
sleep(delay)