From 484b5f7119ab7b10ea884615aa79d11f74c62d9e Mon Sep 17 00:00:00 2001 From: Adrien MALINGREY Date: Wed, 11 Feb 2026 18:18:35 +0100 Subject: [PATCH] =?UTF-8?q?on=20indique=20qu'on=20=C3=A9crit=20avant=20de?= =?UTF-8?q?=20commencer=20=C3=A0=20r=C3=A9fl=C3=A9chir?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tchap-beta.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tchap-beta.py b/tchap-beta.py index 84ccb01..031c448 100755 --- a/tchap-beta.py +++ b/tchap-beta.py @@ -27,9 +27,9 @@ async def repond(room: MatrixRoom, message: Event, matrix_client: MatrixClient): if len(room.users) > 2 and not (message.formatted_body and matrix_client.user_id in message.formatted_body): raise EventNotConcerned - reponse = parle() # il envoie l'information qu'il est en train d'écrire await matrix_client.room_typing(room.room_id) + reponse = parle() await asyncio.sleep(len(reponse) / 50) # il envoie le message await matrix_client.room_typing(room.room_id, typing_state=False)