#can't not use endpoint
1 messages · Page 1 of 1 (latest)
i still have the same error and in my console i see now this error
throw this.error;
^
CombinedPropertyError: Received one or more errors
at ArrayValidator.handle (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:427:70)
at ArrayValidator.parse (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:113:88)
at EmbedBuilder.addFields (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@discordjs\builders\dist\messages\embed\Embed.cjs:17:42)
at process.<anonymous> (C:\Users\schad\OneDrive\discord bot\spooky-v14\src\bot.js:109:10)
at process.emit (node:events:513:28)
at emit (node:internal/process/promises:149:20)
at processPromiseRejections (node:internal/process/promises:283:27)
at process.processTicksAndRejections (node:internal/process/task_queues:96:32) {
errors: [
[
1,
CombinedPropertyError: Received one or more errors
at ObjectValidator.handleIgnoreStrategy (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:1202:72)
at ObjectValidator.handleStrategy (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:1075:47)
at ObjectValidator.handle (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:1172:17)
at ObjectValidator.run (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:99:23)
at ArrayValidator.handle (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:421:37)
at ArrayValidator.parse (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@sapphire\shapeshift\dist\index.js:113:88)
at EmbedBuilder.addFields (C:\Users\schad\OneDrive\discord bot\spooky-v14\node_modules\@discordjs\builders\dist\messages\embed\Embed.cjs:17:42)
at process.<anonymous> (C:\Users\schad\OneDrive\discord bot\spooky-v14\src\bot.js:109:10)
at process.emit (node:events:513:28)
at emit (node:internal/process/promises:149:20) {
errors: [ [ 'value', [ExpectedConstraintError] ] ]
}
]
]
}
Node.js v18.7.0```
Looks like Sapphire is catching an error...that is strange
Can you log what commands is?
Not sure if it matters, but my notes say the objects should be more like:
{
name: 'setchannelforbot',
description: 'The Description',
options: [Array],
default_permission: undefined
}
The difference being your options are [ [Object] ] but I think that's fine as [Object] is an Array 🤔
ah, is it an Embed error you're catching?
Yes! look you're errors are the Embed
EmbedBuilder.addFields
yes if errors they send them to an channel
No...your Embed is erroring
Your Error catch...is itself erroring
Can you remove the embed for now and try again
ok
@sonic cipher
#769862166131245066 message
?