Raised This Month: $ Target: $400
 0% 

[ANY] Discord Report **UPDATED 4/30/24**


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
OG420
Junior Member
Join Date: Feb 2021
Old 04-30-2021 , 13:01   Re: [ANY] Discord Report
Reply With Quote #28

Hi, iam having these errors after starting the bot. Could someone help me please?

Code:
C:\Users\User\Desktop\plugs\reportBot\Bot Files>node reportBot.js
(node:1152) UnhandledPromiseRejectionWarning: TypeError: client.guilds.find is not a function
    at Client.<anonymous> (C:\Users\User\Desktop\plugs\reportBot\Bot Files\reportBot.js:44:24)
    at Client.emit (events.js:315:20)
    at WebSocketManager.triggerClientReady (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\discord.js\src\client\websocket\WebSocketManager.js:431:17)
    at WebSocketManager.checkShardsReady (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\discord.js\src\client\websocket\WebSocketManager.js:415:10)
    at WebSocketShard.<anonymous> (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\discord.js\src\client\websocket\WebSocketManager.js:197:14)
    at WebSocketShard.emit (events.js:315:20)
    at WebSocketShard.checkReady (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\discord.js\src\client\websocket\WebSocketShard.js:475:12)
    at WebSocketShard.onPacket (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\discord.js\src\client\websocket\WebSocketShard.js:447:16)
    at WebSocketShard.onMessage (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
    at WebSocket.onMessage (C:\Users\User\Desktop\plugs\reportBot\Bot Files\node_modules\ws\lib\event-target.js:132:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:1152) 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)
(node:1152) [DEP0018] DeprecationWarning: Unhandled promise rejections
OG420 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 21:34.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode