RASKOLOV

Error

Feb 21st, 2024
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.68 KB | None | 0 0
  1. C:\Users\12345678\Desktop\Основной БОТ\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:1958
  2. return Result.err(new ValidationError("s.object(T)", `Expected the value to be an object, but received ${typeOfValue} instead`, value));
  3. ^
  4.  
  5. ValidationError: Expected the value to be an object, but received string instead
  6. at _ObjectValidator.handle (C:\Users\12345678\Desktop\Основной БОТ\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:1958:25)
  7. at _ObjectValidator.parse (C:\Users\12345678\Desktop\Основной БОТ\node_modules\@sapphire\shapeshift\dist\cjs\index.cjs:939:90)
  8. at ButtonBuilder.setEmoji (C:\Users\12345678\Desktop\Основной БОТ\node_modules\@discordjs\builders\dist\index.js:668:38)
  9. at Object.execute (C:\Users\12345678\Desktop\Основной БОТ\Commands\Moderator\verification.js:16:14)
  10. at Object.execute (C:\Users\12345678\Desktop\Основной БОТ\Events\basic\interactionCreate.js:16:25)
  11. at Client.<anonymous> (C:\Users\12345678\Desktop\Основной БОТ\Handlers\eventHandler.js:24:57)
  12. at Client.emit (node:events:530:35)
  13. at InteractionCreateAction.handle (C:\Users\12345678\Desktop\Основной БОТ\node_modules\discord.js\src\client\actions\InteractionCreate.js:97:12)
  14. at module.exports [as INTERACTION_CREATE] (C:\Users\12345678\Desktop\Основной БОТ\node_modules\discord.js\src\client\websocket\handlers\INTERACTION_CREATE.js:4:36)
  15. at WebSocketManager.handlePacket (C:\Users\12345678\Desktop\Основной БОТ\node_modules\discord.js\src\client\websocket\WebSocketManager.js:355:31) {
  16. validator: 's.object(T)',
  17. given: '✔'
  18. }
Advertisement
Add Comment
Please, Sign In to add comment