Skip to content

Commit

Permalink
Remove left-over commands v2 code
Browse files Browse the repository at this point in the history
  • Loading branch information
dolfies committed Jan 15, 2024
1 parent 8d77474 commit 4fe997d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions discord/abc.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 4fe997d

Please sign in to comment.