Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

216
Vistas
UnhandledPromiseRejectionWarning discord js music bot

Estoy haciendo un bot de música discord js, pero cuando cambio la canción, aparece este error y, después de recibir este error varias veces, aparece el código de error 403 y tengo que reiniciar el bot nuevamente.

 (node:248) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions at RequestHandler.execute (/home/runner/jammashama-1/node_modules/discord.js/src/rest/RequestHandler.js:154:13) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async RequestHandler.push (/home/runner/jammashama-1/node_modules/discord.js/src/rest/RequestHandler.js:39:14) at async GuildMember.edit (/home/runner/jammashama-1/node_modules/discord.js/src/structures/GuildMember.js:312:5) (node:248) 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:248) [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. Error: write EPIPE ID: ubgFZnja_HE Name: TheFatRat - Fly Away (Lyrics) feat. Anjulie at WriteWrap.onWriteComplete [as oncomplete] (internal/stream_base_commons.js:94:16) { errno: 'EPIPE', code: 'EPIPE', syscall: 'write' } (node:248) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions at RequestHandler.execute (/home/runner/jammashama-1/node_modules/discord.js/src/rest/RequestHandler.js:154:13) at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:97:5) at async RequestHandler.push (/home/runner/jammashama-1/node_modules/discord.js/src/rest/RequestHandler.js:39:14) at async GuildMember.edit (/home/runner/jammashama-1/node_modules/discord.js/src/structures/GuildMember.js:312:5) (node:248) 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)
about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

DiscordAPIError: Faltan permisos

El problema es que tu bot no tiene los permisos requeridos.

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda