} (node:3228) UnhandledPromiseRejectionWarning: ReferenceError: AbortController is not defined at RequestHandler.execute (C:\discord-bot\node_modules\discord.js\src\rest\RequestHandler.js:172:15) at RequestHandler.execute (C:\discord-bot\node_modules\discord.js\src\rest\RequestHandler.js:176:19) at RequestHandler.push (C:\discord-bot\node_modules\discord.js\src\rest\RequestHandler.js:50:25) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async WebSocketManager.connect (C:\discord-bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:128:9) at async module.exports.login (C:\discord-bot\node_modules\discord.js\src\client\Client.js:245:7) (Use `node --trace-warnings ...` to show where the warning was created) (node:3228) 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: 2) (node:3228) [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.discordia javascript
Instalé esto. https://github.com/TannerGabriel/discord-bot#requirements
¡ayúdame!