LabCleaningBot: additional instructions after join

This commit is contained in:
lemoer 2024-12-28 18:37:44 +01:00
parent 43d450811c
commit 2e3793278d

View File

@ -360,11 +360,13 @@ class LabCleaningBot:
match accept_result:
case Ok(AcceptInTime()) | Ok(AcceptAfterRejectAllowed()):
response_msg = """Thank you! You accepted the request.
response_msg = f"""Thank you! You accepted the request.
I will add you to a signal group dedicated for this task. You can not directly leave the signal group until the task has started.
If due to any reason you can not participate, please just change your "👍" reaction above to something else or remove the reaction. I will let the others know that you can not participate, remove you from the group and ask another person to overtake your task."""
If due to any reason you can not participate, please just change your "👍" reaction above to something else or remove the reaction. I will let the others know that you can not participate, remove you from the group and ask another person to overtake your task.
As soon as {request.task.required_number_of_participants} people joined the task, I will let you know. Then you can start coordinate with your group."""
self.api.add_group_members(request.task.chatgroup, [source])