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 slashies to a specific guild #1734

Closed
Lounek09 opened this issue Feb 2, 2024 · 3 comments
Closed

[Commands] Register slashies to a specific guild #1734

Lounek09 opened this issue Feb 2, 2024 · 3 comments
Assignees
Labels
commands For issues related to DSharpPlus.Commands enhancement new-features
Milestone

Comments

@Lounek09
Copy link
Contributor

Lounek09 commented Feb 2, 2024

I'm currently trying DSharpPlus.Commands over DSharpPlus.SlashCommands but it lack a very important feature to me : The possibility to register commands to a specific guild.

To be brief, my bot is an encyclopedia for the MMORPG Dofus Retro, I have sensitive commands principally used to parse game data and explore it more precisely. These commands should not be public but rather on a private admin guild (and potentially other specific guilds).

It's currently possible to do it with DSharpPlus.SlashCommands from SlashCommandsExtension.RegisterCommands, I think this is the most flexible approach to implement it.

@Lounek09 Lounek09 changed the title Register slashies to a specific guild [Commands] Register slashies to a specific guild Feb 2, 2024
@OoLunar
Copy link
Member

OoLunar commented Feb 2, 2024

This is absolutely something we can implement! Should be as simple as another if statement. I'll close this issue once it's implemented. Thank you for raising this to our attention!

@OoLunar OoLunar self-assigned this Feb 2, 2024
@OoLunar OoLunar added new-features commands For issues related to DSharpPlus.Commands labels Feb 2, 2024
@OoLunar OoLunar added this to the v5.0 milestone Feb 2, 2024
@ecrocombe
Copy link
Contributor

+1,

Currently doing the same thing, migrating from DSP.SlashCommands to DSP.Commands, and dearly missing this lovely feature.

@Plerx2493
Copy link
Member

Currently the extension provides a config to register commands only to one specific guild as requested, but i will not close this issue and expand it to the scope of supporting multiple guild specific commands for different guilds

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 new-features
Projects
None yet
Development

No branches or pull requests

4 participants