Advertisement
Guest User

debug output

a guest
Mar 21st, 2021
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.02 KB | None | 0 0
  1. Debugger attached.
  2. Debugger attached.
  3. attempting to load command help
  4. attempting to load command kick
  5. attempting to load command modhelp
  6. attempting to load command ping
  7. attempting to load command prune
  8. Waiting for the debugger to disconnect...
  9. /home/taigo/Documents/MIKU!!!/commands/kick.js:18
  10. message.guild.members.cache.find((member) => member.userName.toUpperCase() === args[0].toUpperCase()) ||
  11. ^
  12.  
  13. TypeError: Cannot read property 'toUpperCase' of undefined
  14. at /home/taigo/Documents/MIKU!!!/commands/kick.js:18:70
  15. at Map.find (/home/taigo/Documents/MIKU!!!/node_modules/@discordjs/collection/dist/index.js:161:17)
  16. at Object.exports.run (/home/taigo/Documents/MIKU!!!/commands/kick.js:18:37)
  17. at module.exports (/home/taigo/Documents/MIKU!!!/events/message.js:21:9)
  18. at Client.emit (events.js:315:20)
  19. at MessageCreateAction.handle (/home/taigo/Documents/MIKU!!!/node_modules/discord.js/src/client/actions/MessageCreate.js:31:14)
  20. at Object.module.exports [as MESSAGE_CREATE] (/home/taigo/Documents/MIKU!!!/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
  21. at WebSocketManager.handlePacket (/home/taigo/Documents/MIKU!!!/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
  22. at WebSocketShard.onPacket (/home/taigo/Documents/MIKU!!!/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
  23. at WebSocketShard.onMessage (/home/taigo/Documents/MIKU!!!/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
  24. npm ERR! code ELIFECYCLE
  25. npm ERR! errno 1
  26. npm ERR! [email protected] start: `node bot.js`
  27. npm ERR! Exit status 1
  28. npm ERR!
  29. npm ERR! Failed at the [email protected] start script.
  30. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
  31.  
  32. npm ERR! A complete log of this run can be found in:
  33. npm ERR! /home/taigo/.npm/_logs/2021-03-21T17_15_33_157Z-debug.log
  34. Waiting for the debugger to disconnect...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement