#Hey i got this error
7 messages · Page 1 of 1 (latest)
- What's your exact discord.js
npm list discord.jsand nodenode -vversion? - Not a discord.js issue? Check out #1081585952654360687.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
✅Marked as resolved by OP
Fifth bullet point applies
throw this.error;
^
ValidationError: Expected a string primitive
at _StringValidator.handle (C:\Users\oikon\Desktop\Yo Bot\node_modules@sapphire\shapeshift\dist\cjs\index.cjs:2473:70)
at _StringValidator.parse (C:\Users\oikon\Desktop\Yo Bot\node_modules@sapphire\shapeshift\dist\cjs\index.cjs:939:90)
at validateDescription (C:\Users\oikon\Desktop\Yo Bot\node_modules@discordjs\builders\dist\index.js:1584:25)
at validateRequiredParameters (C:\Users\oikon\Desktop\Yo Bot\node_modules@discordjs\builders\dist\index.js:1598:3)
at MixedClass.toJSON (C:\Users\oikon\Desktop\Yo Bot\node_modules@discordjs\builders\dist\index.js:2501:5)
at Object.<anonymous> (C:\Users\oikon\Desktop\Yo Bot\deploy-commands.js:20:31)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12) {
validator: 's.string',
given: undefined
}
i want to put react messages on my bot i saw the discord.js guide i did the exact same things but its showing me this
Show your code
You passed undefined to setDescription()