Hello! I decided to get into my bot’s project to work on some commands and I got something that really annoyed me and I don’t know how to fix. Even with the help of Google.
(node:2762) UnhandledPromiseRejectionWarning: Error: Client network socket disconnected before secure TLS connection was established at TLSSocket.onConnectEnd (_tls_wrap.js:1088:19) at Object.onceWrapper (events.js:277:13) at TLSSocket.emit (events.js:194:15) at endReadableNT (_stream_readable.js:1125:12) at process._tickCallback (internal/process/next_tick.js:63:19) (node:2762) 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:2762) [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.
Project Name: t-moderator-bot
If you could help it would be really appreaciated and useful.
Thanks in advance,