SIA
Sapphire - Imagine a frameworkNaryani Priya
Nested message component collectors
How should I be handling nested message component collectors?
What the best way to do it
F
Favna•394d ago
Don't nest them. Ever. Collectors should never be nested.
NP
Naryani Priya•394d ago
Then what to do
Any alternative method to handle such cases
F
Favna•394d ago
Why would they be nested....
Just do it sequentially
Once you have the first message, prompt for the next
Welcome to the Sapphire Discord server! The next-gen object-oriented Discord.js bot framework can be found here.
2.2KMembers
View on DiscordWant results from more Discord servers?
More PostsHow to get message args ?Like i have command `+mark 123`, how i can get the `123`API Placeholder in RouteI didn't found it in the docs. Is there any way to get a placeholder into a route like in express wiTypeError piace.aliases is not iterableGood afternoon, I mixed such a strange code as best I could. My task was to add a button to the messI'm getting this error when used my new precondtion.my fileAPIInteractionDataResolvedGuildMember does not have idWhile fetching for member using `interaction.options.getMember('member')` it gives two types - `GuilAPI Client with SSL?Hey guys,
currently I am trying to make the switch from an custom express API to the API plugin. IsContext Menu Command and Subcommand cannot be in same extended class?I have a slash command which is an extended `Subcommand` called `give-role` with two subcommands - `UserErrors not being caught by listener - bot is crashingmessageCommandError.mjs
```js
import { Events, Listener } from "@sapphire/framework";
import { send Subcommand isn't runningWhen the subcommand is run in Discord, it times out. I've added a log to the beginning of the methodHow to properly handle UserErrors?I'm using the official sapphire template and want to throw a UserError inside a context menu commandCan I set different requiredUserPermissions for each subcommand?Just wondering if this is possible, and how. ThanksHandling BulkOverwrite Registry ErrorsWhen I encounter this error
```
[ERROR] ApplicationCommandRegistries(BulkOverwrite) Failed to overwrEvents for VoiceHow can I do something like the following but for voice?
```
import { Listener } from '@sapphire/frHow do I use autocompleteRun on subcommands?^ As the title says. I can't seem to figure out how subcommands can have autocompleteRun implementedMessage editing fails even though message can be fetchedWhenever I want to edit an ephemeral message I get the following error:
```js
[ERROR] Encountered erProblem with ephemeral messagesI currently have a command which sends a button, problem is, once the button is pressed, I can't rem