diff --git a/other_ext/register.py b/other_ext/register.py index bfc89a4..ef7cb06 100644 --- a/other_ext/register.py +++ b/other_ext/register.py @@ -111,6 +111,7 @@ class Extension: @discord.app_commands.describe() @discord.app_commands.checks.has_role("Администратор Фактов13") async def sync_list_not_have_role(interaction: discord.Interaction): + await interaction.response.defer(thinking=True) current_members:List[discord.Member] = self.core.get_guild(int(self.core.main_server_id)).members current_members = [str(i.id) for i in current_members if i.get_role(self.default_role) == None]