Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Commands] Register context menu even if command in group #1782

Open
BlackLotusLV opened this issue Feb 24, 2024 · 0 comments
Open

[Commands] Register context menu even if command in group #1782

BlackLotusLV opened this issue Feb 24, 2024 · 0 comments
Labels
commands For issues related to DSharpPlus.Commands enhancement
Milestone

Comments

@BlackLotusLV
Copy link

Description

Allow to register ContextMenu command withing a command group. Currently if you set applicationCommandType to (user/message)ContextMenu, it will not register it as a context menu, if it is under a group. While they do not support being grouped, they should still register under the same name to reduce the need to have duplicate code.

This was a thing in the old slash commands extension. It didn't care if the context menu was placed in a group or not, it simply registered it of its own name.

Specify the libraries you want this feature request to affect

DSharpPlus.Commands

Other considerations

No response

@akiraveliara akiraveliara added the commands For issues related to DSharpPlus.Commands label Feb 24, 2024
@akiraveliara akiraveliara added this to the v5.0 milestone Feb 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
commands For issues related to DSharpPlus.Commands enhancement
Projects
None yet
Development

No branches or pull requests

2 participants