Notion document feedback, issues, questions and answers

Hello @everyone! Now, before you bring out the pitchforks and the Ping <:cockatiel_angry_ping:637700629866741817>, PandaPingRage and the pepeping 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 @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 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.
Rexo
Rexo895d ago
double boop
Elliot
Elliot895d ago
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?
vladdy
vladdy895d ago
yep thats a term for both
Elliot
Elliot895d ago
so what is a slash command then? is it an application command run from ChatInput?
vladdy
vladdy895d ago
ChatInput = Slash Commands
Elliot
Elliot895d ago
okkk thanks
Unknown User
Unknown User895d ago
Message Not Public
Sign In & Join Server To View
vladdy
vladdy895d ago
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
Unknown User895d ago
Message Not Public
Sign In & Join Server To View
vladdy
vladdy895d ago
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
Unknown User895d ago
Message Not Public
Sign In & Join Server To View
vladdy
vladdy895d ago
That's why I'm here uwu
Lioness100
Lioness100894d ago
Could focusedValue be a param in autocompleteRun? I feel like almost any use case would need it anyways Edit: wrong thread blobfacepalm I need coffee
vladdy
vladdy881d ago
I intentionally avoided adding any custom parameters in all run methods for future-ish proofing. We can probably think about it some other time .
Want results from more Discord servers?
Add your server
More Posts
Poll Discussion & Answers1️⃣ → *Interaction Handler* 2️⃣ → *In the command with the same name / id* 3️⃣ → *Other (please explApplication Command Registry Interface v1@here Your feedback is required again! We're inching closer and closer to having application commandHow should you, the end user, define commands?⚠️ **How should you define what application commands are for what command classes, and how should thPreconditions with missing handlers! What do?**Preconditions**: What should happen with preconditions (global or not) that need to run on a messaContext Menus vs Application Commands - separate or not?**Question time** ❓ Context menus.. they exist. They're like used once a blue century. How should Interaction Handlers after usageWant to give interaction handlers a shot **now**? Well, you can! Just run the command below and givInteraction Handlers!!Hello peeps! I know, I know, allllll of you (myself included) are just basically begging me for appInitial Commit ThoughtsI've pushed the initial commit for interaction handlers: heavily wip, totally untested and raw (justThe statefulness or statelessness of Interactions1. Most likely, but it would be a nice addition if I was able to have non-state "callbacks" as mentiInteraction handlers in the command instead of globallyHonestly. I would much rather add interactions from my command and from there tell to continue in (fReply sess 2**1.** Yes. This also follows the design pattern that we more-or-less employ already for Sapphire. Wdont feel like creating a review on GitHub...PR is up: https://github.com/sapphiredev/utilities/pull/152 CC @kyra 🩵🩷🤍🩷🩵 @vladdy