From db7a98aa2147a227328cf8d9459dea94b3261723 Mon Sep 17 00:00:00 2001 From: lemoer Date: Sat, 28 Dec 2024 02:18:10 +0100 Subject: [PATCH] LabCleaningBot: make all members of the task group to admins --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 1d4f3a0..1e8ca24 100644 --- a/main.py +++ b/main.py @@ -402,6 +402,7 @@ class LabCleaningBot: task.chatgroup = chatgroup self.api.update_group_members(chatgroup, [r.user.name for r in task.accepted_requests()]) + self.api.update_group_admins(chatgroup, [r.user.name for r in task.accepted_requests()]) async def sync_members_and_tasks(self, session: Session): # Async routine that syncs active members using sync_members_as_active_users(),