-
-
Notifications
You must be signed in to change notification settings - Fork 479
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Summary
Whenever you put a Slash command in a cog, getting all commands from a cog will raise the error above.
Reproduction Steps
- Create a slash command in a cog;
- Try to get all commands from that same cog;
- Observe.
Minimal Reproducible Code
cog.get_commands()Expected Results
Get a full list of cog commands
Actual Results
ERROR: Command raised an exception: AttributeError: 'SlashCommand' object has no attribute 'parent' | Class: <class 'discord.ext.commands.errors.CommandInvokeError'> | Cause: 'SlashCommand' object has no attribute 'parent'
Intents
All intents
System Information
- Python v3.9.6-final
- pycord v2.0.0-alpha
- pycord pkg_resources: v2.0.0a3872+g7e536bc8
- aiohttp v3.7.4
- system info: Windows 10 10.0.19042
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
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working