Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 18.05 13:30:37 [Bot] /HHDiscordBot/node_modules/discord.js/src/client/actions/MessageCreate.js:11
- 18.05 13:30:37 [Bot] const existing = channel.messages.cache.get(data.id);
- 18.05 13:30:37 [Bot] ^
- 18.05 13:30:37 [Bot] TypeError: Cannot read property 'cache' of undefined
- 18.05 13:30:37 [Bot] at MessageCreateAction.handle (/HHDiscordBot/node_modules/discord.js/src/client/actions/MessageCreate.js:11:41)
- 18.05 13:30:37 [Bot] at Object.module.exports [as MESSAGE_CREATE] (/HHDiscordBot/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
- 18.05 13:30:37 [Bot] at WebSocketManager.handlePacket (/HHDiscordBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:384:31)
- 18.05 13:30:37 [Bot] at WebSocketShard.onPacket (/HHDiscordBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
- 18.05 13:30:37 [Bot] at WebSocketShard.onMessage (/HHDiscordBot/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)
- 18.05 13:30:37 [Bot] at WebSocket.onMessage (/HHDiscordBot/node_modules/ws/lib/event-target.js:125:16)
- 18.05 13:30:37 [Bot] at WebSocket.emit (events.js:310:20)
- 18.05 13:30:37 [Bot] at Receiver.receiverOnMessage (/HHDiscordBot/node_modules/ws/lib/websocket.js:797:20)
- 18.05 13:30:37 [Bot] at Receiver.emit (events.js:310:20)
- 18.05 13:30:37 [Bot] at Receiver.dataMessage (/HHDiscordBot/node_modules/ws/lib/receiver.js:437:14)
- --------------------------------------------------------------------------------------------------------------
- 18.05 13:35:35 [Bot] (node:165) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'roles' of null
- 18.05 13:35:35 [Bot] at Client.<anonymous> (/HHDiscordBot/index.js:301:20)
- 18.05 13:35:35 [Bot] at processTicksAndRejections (internal/process/task_queues.js:97:5)
- 18.05 13:35:35 [Bot] (node:165) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
- 18.05 13:35:35 [Bot] (node:165) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement