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()
3 Replies
Favna
Favna•2y 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
Spinel•2y 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!
ararou!•2y 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