Closed
Description
Summary
Slash Command Registration doesn't work if "text command" already registered with the same name
Reproduction Steps
- Create a simple ping
text command
- Create a simple ping
slash command
- The slash command was not registered
Minimal Reproducible Code
@commands.slash_command(guild_ids=[...])
async def ping(self, ctx) -> None:
...
@commands.command()
async def ping(self, ctx) -> None:
...
Expected Results
Slash command would be registered
Actual Results
Slash command is not registered
Intents
ALL
System Information
- Python v3.10.0-final
- py-cord v2.0.0-alpha
- py-cord pkg_resources: v2.0.0a4748+gc602bc45
- aiohttp v3.8.1
- system info: Linux 5.11.22-2-pve Update README.rst #1 SMP PVE 5.11.22-3 (Sun, 11 Jul 2021 13:45:15 +0200)
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