Title: Allow utilizing existing commands without registering them. · Issue #2138 · DSharpPlus/DSharpPlus · GitHub
Open Graph Title: Allow utilizing existing commands without registering them. · Issue #2138 · DSharpPlus/DSharpPlus
X Title: Allow utilizing existing commands without registering them. · Issue #2138 · DSharpPlus/DSharpPlus
Description: 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 Sla...
Open Graph Description: Description With SlashCommandProcessor.RegisterCommands = false, we cannot utilize existing commands that have already been registered. This is due to the fact SlashCommandProcessor.applicationComm...
X Description: Description With SlashCommandProcessor.RegisterCommands = false, we cannot utilize existing commands that have already been registered. This is due to the fact SlashCommandProcessor.applicationComm...
Opengraph URL: https://github.com/DSharpPlus/DSharpPlus/issues/2138
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Allow utilizing existing commands without registering them.","articleBody":"### Description\n\nWith `SlashCommandProcessor.RegisterCommands = false`, we cannot utilize existing commands that have already been registered.\nThis is due to the fact `SlashCommandProcessor.applicationCommandMapping` only gets assigned within `SlashCommandProcessor.RegisterSlashCommandsAsync` which is conditionally invoked based on the `SlashCommandProcessor.RegisterCommands` property.\n\nProposal;\nStill 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.\nNot really sure if this should be user configurable or not, since this may be only a me thing.\n\n\n### Specify the libraries you want this feature request to affect\n\nDSharpPlus.Commands\n\n### Other considerations\n\n_No response_","author":{"url":"https://github.com/ecrocombe","@type":"Person","name":"ecrocombe"},"datePublished":"2024-10-27T10:27:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/2138/DSharpPlus/issues/2138"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bf510268-ca9d-a41b-c280-e0e8266864f5 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 85F6:9991F:7B96517:A6C7D0A:698CDF58 |
| html-safe-nonce | 6f902f41d6db11e600fd77a836659a1fe3e1e3fac1fe3fab1cb652c86de3dac4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUY2Ojk5OTFGOjdCOTY1MTc6QTZDN0QwQTo2OThDREY1OCIsInZpc2l0b3JfaWQiOiI1MzQ0MzY2MTIzMzEwNDQwMjgxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8057597239628759670029c8bb7a1981ae22c33c5310364bd6998feb3dfbf4e9 |
| hovercard-subject-tag | issue:2616490103 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/DSharpPlus/DSharpPlus/2138/issue_layout |
| twitter:image | https://opengraph.githubassets.com/29024ee0ca374ba984d4cd12c3eb281633bd57336e90a573133878c841439391/DSharpPlus/DSharpPlus/issues/2138 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/29024ee0ca374ba984d4cd12c3eb281633bd57336e90a573133878c841439391/DSharpPlus/DSharpPlus/issues/2138 |
| og:image:alt | Description With SlashCommandProcessor.RegisterCommands = false, we cannot utilize existing commands that have already been registered. This is due to the fact SlashCommandProcessor.applicationComm... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ecrocombe |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/DSharpPlus/DSharpPlus git https://github.com/DSharpPlus/DSharpPlus.git |
| octolytics-dimension-user_id | 36208721 |
| octolytics-dimension-user_login | DSharpPlus |
| octolytics-dimension-repository_id | 67243489 |
| octolytics-dimension-repository_nwo | DSharpPlus/DSharpPlus |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 67243489 |
| octolytics-dimension-repository_network_root_nwo | DSharpPlus/DSharpPlus |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width