Home > Net >  Discord.js Error with my embed and idk how to resolve it
Discord.js Error with my embed and idk how to resolve it

Time:09-02

i have a embed on my ready.js that sends it to a channel, and its giving me this error

ValidationError: Expected the value to be an object, but received string instead
    at ObjectValidator.handle (/root/ZyruzBot/node_modules/@sapphire/shapeshift/dist/index.js:1161:25)
    at ObjectValidator.parse (/root/ZyruzBot/node_modules/@sapphire/shapeshift/dist/index.js:113:88)
    at EmbedBuilder.setAuthor (/root/ZyruzBot/node_modules/discord.js/node_modules/@discordjs/builders/dist/messages/embed/Embed.cjs:42:37)
    at sendTicketMSG (/root/ZyruzBot/events/ready.js:13:10)
    at Timeout._onTimeout (/root/ZyruzBot/events/ready.js:86:7)
    at listOnTimeout (node:internal/timers:559:17)
    at processTimers (node:internal/timers:502:7) {
  validator: 's.object(T)',
  given: '           
  • Related