diff --git a/tchap-beta.py b/tchap-beta.py index 1158683..96a21ea 100755 --- a/tchap-beta.py +++ b/tchap-beta.py @@ -31,9 +31,9 @@ async def repond(room: MatrixRoom, message: Event, matrix_client: MatrixClient): reponse = parle() # il envoie l'information qu'il est en train d'écrire await matrix_client.room_typing(room.room_id) - await asyncio.sleep(len(reponse) / 30) + await asyncio.sleep(len(reponse) / 50) # il envoie le message - await matrix_client.send_text_message(room.room_id, reponse, "m.notice") + await matrix_client.send_html_message(room.room_id, reponse, "m.notice") tchap_bot = MatrixBot(