Visitar URL original
Allow utilizing existing commands without registering them. · Issue #2138 · DSharpPlus/DSharpPlus · GitHub
Skip to content

Allow utilizing existing commands without registering them. #2138

Description

@ecrocombe

Description

With SlashCommandProcessor.RegisterCommands = false, we cannot utilize existing commands that have already been registered.
This is due to the fact SlashCommandProcessor.applicationCommandMapping only gets assigned within SlashCommandProcessor.RegisterSlashCommandsAsync which is conditionally invoked based on the SlashCommandProcessor.RegisterCommands property.

Proposal;
Still map previously registered commands that have been detected as "not changed" so they can still be used without sending any command registrations over the wire.
Not really sure if this should be user configurable or not, since this may be only a me thing.

Specify the libraries you want this feature request to affect

DSharpPlus.Commands

Other considerations

No response

Activity

  1. added
    commandsFor issues related to DSharpPlus.Commands
    and removed on Oct 27, 2024
  2. added this to the v5.0 milestone on Oct 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    commandsFor issues related to DSharpPlus.Commands

    Fields

    Effort

    None yet

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions