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)DiscordAPIError: Faltan permisos
El problema es que tu bot no tiene los permisos requeridos.