Command info command issue

I have a command info command, but when I try to get information on a command called "flags" it returns this error:
at ArrayValidator.handle (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\shapeshift\dist\index.js:457:70)
at ArrayValidator.parse (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\shapeshift\dist\index.js:201:88)
at EmbedBuilder.spliceFields (C:\Users\cmart\Desktop\Sapphire\node_modules\@discordjs\builders\dist\index.js:207:31)
at EmbedBuilder.setFields (C:\Users\cmart\Desktop\Sapphire\node_modules\@discordjs\builders\dist\index.js:215:10)
at HelpCommand.messageRun (C:\Users\cmart\Desktop\Sapphire\src\commands\Utility\help.js:35:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\framework\dist\optional-listeners\message-command-listeners\CoreMessageCommandAccepted.js:20:23
at async Object.fromAsync (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\result\dist\index.js:615:22)
at async CoreListener.run (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\framework\dist\optional-listeners\message-command-listeners\CoreMessageCommandAccepted.js:17:22)
at async Object.fromAsync (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\result\dist\index.js:615:22)
at ArrayValidator.handle (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\shapeshift\dist\index.js:457:70)
at ArrayValidator.parse (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\shapeshift\dist\index.js:201:88)
at EmbedBuilder.spliceFields (C:\Users\cmart\Desktop\Sapphire\node_modules\@discordjs\builders\dist\index.js:207:31)
at EmbedBuilder.setFields (C:\Users\cmart\Desktop\Sapphire\node_modules\@discordjs\builders\dist\index.js:215:10)
at HelpCommand.messageRun (C:\Users\cmart\Desktop\Sapphire\src\commands\Utility\help.js:35:10)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\framework\dist\optional-listeners\message-command-listeners\CoreMessageCommandAccepted.js:20:23
at async Object.fromAsync (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\result\dist\index.js:615:22)
at async CoreListener.run (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\framework\dist\optional-listeners\message-command-listeners\CoreMessageCommandAccepted.js:17:22)
at async Object.fromAsync (C:\Users\cmart\Desktop\Sapphire\node_modules\@sapphire\result\dist\index.js:615:22)
line 35 is a .setFields()
Favna
Favna442d ago
Like I told you when you posted in #sapphire-support, there is absolutely no way to tell from this error log. Not only is in incomplete, it's also lacking any and all context
Spinel
Spinel442d ago
When asking for help, make sure to provide as much detail as possible. What have you tried so far? Do you have stacktraces that you can show us? What are you trying to achieve? Try to answer these questions and others, so we do not have to ask for them afterwards.
❯ For a good guide on how to ask questions, see the instructions that StackOverflow gives. You should try to always follow these guidelines. ❯ For an excellent video that shows how not to ask technical questions is this, watch this YouTube video by LiveOverflow. ❯ Asking technical questions (Clarkson)How to ask questions the smart way (Raymond)
Ararou
Ararou442d ago
code is kinda needed and are you making the name and array value in the object also an array like .setFields([{ name: string, value: string }]); that’s what I’m guessing since it says at ArrayValidator.Handle n stuff
Want results from more Discord servers?
Add your server
More Posts
await args.pick("member");how to enable this? https://discord.com/channels/737141877803057244/737142071319855105/107804884825Command info command issueI have a command info command, but when I try to get information on a command called "flags" it retuRunning in productionHey! What's the recommended method for starting up a node app in production? Specifically for DiscorspeakerName translation in FFXIVIpcChatHello everyone, I'm using ffxiv-pcap to read chat messages using the Sapphire Struct for chat messagClearing registered slash commandsHello 👋 I would like to know if there's a system provided by Sapphire to automatically clear previDocker being goofyI have no idea why Docker is being all goofy, it's saying that my discord token is invalid, but it'sReferenceError: [ENV] BOT_OWNER_IDS - The key must be an array, but is empty or undefined.I am using `@skyra/env-utilities` and when I start up my bot, I get the error reported in the title How can I turn a joinedTimestamp into this Discord TimestampThe one that automatically shows you like how long ago this timestamp wasHow to use `@sapphire/shapeshift ` dateValid & stringRegexI have a slash command that needs to take in a date input in the format of `YYYY-MM-DD`. I want to Access extended sapphire clientFollowing usecase: I extended the sapphire client in order to create custom collections etc. Is thVersion mismatch between Sapphire and dapi-typesHi, I was updating my dependencies when I encountered Discord.js' dapi-types error. I copy/pasted thWhats the syntax to require Permission X AND Y OR Z when using requiredUserPermissionswhen using `requiredUserPermissions`. Its an array so Im not sureGetting modalSubmit error over the weekendDid discord change something???How to use windows env variables using skyra env utilitiesi am trying to use CD for hosting and i have env variables set on windows, how do i access them withPattern for fetching all registered slash commandsI have some slash commands and some with subcommands and and want to introduce a `/help` slash comminteraction.showModal not workinginteraction.showModal doesnt work, I dont know why. Code: ``` this.container.logger.debug("Start EdPrecondition with Slash CommandHow to report precondition failure w/ clash command? If I use `this.error({ message: 'error' });` iHow to use skyra env utilities with the cli generated project?I want to use env variables to store my mongo uri, but due to skyra utilities being their i cant use