Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve currently existing dynamic application command registration and deregistration #2181

Copy link
Copy link
@akiraveliara

Description

@akiraveliara
Issue body actions

#2115 changed global command registration from overload from emitting a single bulk overwrite unconditionally to fetching global commands and dynamically registering only the commands that were changed or added. This change was made primarily to work around a breaking change Discord introduced whereby an unoverwritable command can be implicitly created from the developer portal. However, this concept can be expanded further to further improve user experience and integrating with user or user-provided code.

#2126 requests this functionality to be expanded to guild commands. While at present impossible because this could conflict with commands registered to the debug guild (special care will have to be taken to address this issue), it is a valuable concept. Tying into this is #2138, which requests the ability to provide application command lists yourself, as the user, preferably both for guilds and global commands. This will enable more complex interop scenarios where user need to communicate command lists with other libraries or even processes or machines.

Sub-issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    commandsFor issues related to DSharpPlus.CommandsFor issues related to DSharpPlus.Commands

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.