Notion document feedback, issues, questions and answers
Hello @everyone! Now, before you bring out the pitchforks and the <: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.
Now you'll also notice three threads appearing.. Notion document feedback, issues, questions and answers, Application command issues and how it feels to use them and Application command requests. Please use each of these threads properly - report questions, feedback and what not related to the notion document in the first thread, thoughts about how the developer experience is when using them in the second thread, and any features you think would be nice to have in the third thread.
Now, enough foreplay. Get your coding hands ready, boot up that brain of yours, and get ready to code! (or, if code reviews tickle your pickle more, give the pull request a review 😄 https://github.com/sapphiredev/framework/pull/293).
How to get this running?
Glad you asked! Just add anxiously awaiting your feedback, hopefully no issues, and answering your questions and concerns! Ideally, keep them in the thread. I won't bite if you slip out tho, but don't make it a common occurrence. 😉
Now you can pull out the pitchforks.
@sapphire/framework@next
with your package manager (npm i @sapphire/framework@next
, yarn add @sapphire/framework@next
, pnpm i @sapphire/framework@next
), make sure it's installed, and start coding! Super simple, super hype, and, if you ask me, about time it happened.
I am 14 Replies
double boop
Can you just help me with terminology please? i'm really confused here:
ChatInput is a slash command run from the chatbox, and ContextMenu is run from right click > applications, and what is an application command then? is this a term for both?
yep
thats a term for both
so what is a slash command then?
is it an application command run from ChatInput?
ChatInput = Slash Commands
okkk thanks
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
Yes
It does take in a list of ids
Aka strings
Since you can change names, we need idHints to know we already made this
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
Yes to the first question, it's not mandatory but it's HIGHLY recommended.
And yeah because if sapphire makes the command you'll know the id right away
We log it
However if you already havee a command.. you'll have to fetch the id yourself
Unknown User•4y ago
Message Not Public
Sign In & Join Server To View
That's why I'm here uwu
Could
focusedValue
be a param in autocompleteRun
? I feel like almost any use case would need it anyways
Edit: wrong thread I need coffeeI intentionally avoided adding any custom parameters in all run methods for future-ish proofing. We can probably think about it some other time
.