Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (node:17932) UnhandledPromiseRejectionWarning: TypeError: (intermediate value).setDescription(...).setColor(...).addfield is not a function
- at Client.bot.on (C:\Users\Alejandra\Desktop\NyuBot\index.js:43:10)
- at Client.emit (events.js:127:13)
- at MessageCreateHandler.handle (C:\Users\Alejandra\Desktop\NyuBot\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
- at WebSocketPacketManager.handle (C:\Users\Alejandra\Desktop\NyuBot\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:103:65)
- at WebSocketConnection.onPacket (C:\Users\Alejandra\Desktop\NyuBot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:330:35)
- at WebSocketConnection.onMessage (C:\Users\Alejandra\Desktop\NyuBot\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:293:17)
- at WebSocket.onMessage (C:\Users\Alejandra\Desktop\NyuBot\node_modules\ws\lib\event-target.js:120:16)
- at WebSocket.emit (events.js:127:13)
- at Receiver._receiver.onmessage (C:\Users\Alejandra\Desktop\NyuBot\node_modules\ws\lib\websocket.js:137:47)
- at Receiver.dataMessage (C:\Users\Alejandra\Desktop\NyuBot\node_modules\ws\lib\receiver.js:409:14)
- (node:17932) 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(). (rejection id: 1)
- (node:17932) [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