From fb4da7dfed4633e20a635b7b0d97d779283baedc Mon Sep 17 00:00:00 2001 From: Panoramic Date: Thu, 25 Jul 2024 18:16:58 +0300 Subject: [PATCH] Turn invitees into a list --- vetting_bot/bot_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vetting_bot/bot_commands.py b/vetting_bot/bot_commands.py index a798ee5..d94552d 100644 --- a/vetting_bot/bot_commands.py +++ b/vetting_bot/bot_commands.py @@ -202,7 +202,7 @@ class Command: ] # Max amount of users to invite is 10 here: - invitee_chunks = divide_chunks(invitees, 10) + invitee_chunks = divide_chunks(list(invitees), 10) room_resp = await self.client.room_create( name=f"Vetting {random_string}",