Browse Source

Remove left-over commands v2 code

pull/10109/head
dolfies 1 year ago
parent
commit
4fe997dcf7
  1. 5
      discord/abc.py

5
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],

Loading…
Cancel
Save