Hi! My Discord Bot is not working now, why?
Please help me thanks!
SyntaxError: Unexpected token H in JSON at position 242 at JSON.parse () at /opt/watcher/source/app-picker.ts:105:37 at ChildProcess.exithandler (child_process.js:285:7) at ChildProcess.emit (events.js:189:13) at ChildProcess.EventEmitter.emit (domain.js:441:20) at maybeClose (internal/child_process.js:970:16) at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
8:27 PM3 minutes ago
(node:1684) UnhandledPromiseRejectionWarning: Error: Something took too long to do.
8:32 PM
at timeout.client.setTimeout (/rbd/pnpm-volume/b3116349-6b97-418f-a38c-07f8e3d68671/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/ClientManager.js:40:57)
8:32 PM
at Timeout.setTimeout [as _onTimeout] (/rbd/pnpm-volume/b3116349-6b97-418f-a38c-07f8e3d68671/node_modules/.registry.npmjs.org/discord.js/11.5.1/node_modules/discord.js/src/client/Client.js:436:7)
8:32 PM
at ontimeout (timers.js:498:11)
8:32 PM
at tryOnTimeout (timers.js:323:5)
8:32 PM
at Timer.listOnTimeout (timers.js:290:5)
8:32 PM
(node:1684) 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: 6)
8:32 PM
(node:1684) [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.