Closed
Description
Summary
Cog.get_commands()
no longer returns anything but slash/interaction based commands, breaking all help commands
Reproduction Steps
Run the example below with a cog that has ext.commands
based commands.
Minimal Reproducible Code
cog = bot.get_cog("MyCog")
commands = cog.get_commands()
print(commands)
#This will return [] unless MyCog contains slash/interaction based commands
Expected Results
Commands inside cog returned as a list.
Actual Results
Only interaction-based commands are returned
Intents
discord.Intents(guilds = True, members = True, bans = True, emojis = True, messages = True, invites = True, reactions = True)
System Information
- Python v3.10.1-final
- py-cord v2.0.0-alpha
- py-cord pkg_resources: v2.0.0a4627+gca1a76cb
- aiohttp v3.7.4.post0
- system info: Linux 5.15.10-zen1-1-zen #1 ZEN SMP PREEMPT Fri, 17 Dec 2021 11:17:39 +0000
Checklist
- I have searched the open issues for duplicates.
- I have shown the entire traceback, if possible.
- I have removed my token from display, if visible.
Additional Context
No response