Open
Description
Summary
app commands from hybrid commands with invoke_without_command set to True don't work / show up
Reproduction Steps
- create a hybrid group with
invoke_without_command=True
andwith_app_command=True
- sync the app command tree
- the group command does not show up in the slash command, but the prefixed command works fine.
Minimal Reproducible Code
@commands.hybrid_group(name="config", invoke_without_command=True, description="Configure the bot's config.",with_app_command=True)
@commands.has_guild_permissions(administrator=True)
async def config(self, ctx):
await ctx.reply(
"this command works in prefixed commands, but doesn't show up in app commands."
"for example: {prefix}config will work, but the slash command /config won't."
)
Expected Results
i expected the group/command to work with app commands.
Actual Results
the app group/command does not work. doesn't show up in the list of slash commands. the prefixed command works normally.
Intents
discord.Intents().all()
System Information
- Python v3.10.12-final
- discord.py v2.4.0-final
- aiohttp v3.11.9
- system info: Linux 5.15.0-130-generic #140-Ubuntu SMP Wed Dec 18 17:59:53 UTC 2024
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