From 4fe997dcf778a4878d2350f30f4e54c1b05d6de2 Mon Sep 17 00:00:00 2001 From: dolfies Date: Sun, 14 Jan 2024 21:44:19 -0500 Subject: [PATCH] Remove left-over commands v2 code --- discord/abc.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/discord/abc.py b/discord/abc.py index 2263facf1..c88383410 100644 --- a/discord/abc.py +++ b/discord/abc.py @@ -228,7 +228,6 @@ async def _handle_commands( return cmds = await channel.application_commands() - for cmd in cmds: # Handle faked parameters if type is not None and cmd.type != type: @@ -256,10 +255,6 @@ async def _handle_commands( yield cmd - cmd_ids = None - if len(cmds) < min(limit if limit else 25, 25) or len(cmds) == limit == 25: - return - async def _handle_message_search( destination: Union[Messageable, Guild],