sapphire-support
discordjs-support
old-sapphire-support
old-discordjs-support
old-application-commands-and-interactions
RuiNtD - How to ensure removed application command...
DelxHQ - Is there anyway I can defer all of my com...
Nitsua - Editing a previously ran slash command re...
willuhmjs - ```jsValidationError s.string Exp...
Nytelife26 - can i use `ApplyOptions` with an app...
@ApplyOptions with an application command, and if so do I still need to use registerChatInputCommand?
i'd guess not but thought i'd check...Somehow registry not registering
[DEBUG] ApplicationCommandRegistry[help] Preparing to process 0 possible command registrations / updates.... Compared to other commands returning this:```[DEBUG] ApplicationCommandRegistry[clear] Preparing to process 1 possible command registrations / updates......Notion document feedback, issues, questions and answers
<:cockatiel_angry_ping:637700629866741817>,
and the
I'd like to clarify that this will be the final @everyone (from me) for a long time, as we'll only ping @Ping Me For Announcements for the announcement when this goes live, and no more pings in this channel.
Now that I have you all here, it is time for the feature you all have been waiting for so long... Application Commands in Sapphire are officially test ready!
And, as usual, I've written a notion document describing everything you need to know about them! Click https://vladfrangu.notion.site/Application-Commands-3d1683f23f0a4fa6b3e682bc8c1cc1b9 to read it, but be prepared, it's quite a long read.
...Poll Discussion & Answers
Application Command Registry Interface v1
feedback is wanted!
As you're hopefully used to already, here's the notion doc with examples: https://vladfrangu.notion.site/Current-code-examples-for-registering-Application-Commands-in-Sapphire-6720eeb8f8be4cfa92292c44f1db9a2c
Please note that these are samples. They may change per your feedback, and at the end, I will create a repository showing it off in an actual code base for those that have uncertainties!...How should you, the end user, define commands?
command.name, otherwise command.chatInputName (for chat input commands) or command.contextMenuName for context menus, and provide a utility function on the command store that lets you register them if missing at ready (can go into more details if this option is chosen)
2️⃣: Passing in an array of @discordjs/builders in the command class's options, which get pushed to the API based on client settings (as above, with some options for handling existing commands and what not)
3️⃣: Propose a better solution...Preconditions with missing handlers! What do?
Context Menus vs Application Commands - separate or not?
Interaction Handlers after usage
npm install @sapphire/framework@pr-293...Interaction Handlers!!
Initial Commit Thoughts
The statefulness or statelessness of Interactions
Interaction handlers in the command instead of globally
Reply sess 2
