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