Unhandled promise rejection

(node:716) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions

10:27 PM

at RequestHandler.execute (/rbd/pnpm-volume/e510aebc-aa8d-41e6-bdbe-632fceb24fc5/node_modules/.registry.npmjs.org/discord.js/12.0.2/node_modules/discord.js/src/rest/RequestHandler.js:170:25)

10:27 PM

at processTicksAndRejections (internal/process/task_queues.js:88:5)

10:27 PM

(node:716) 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: 569)

10:27 PM

(node:716) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions

10:28 PM

at RequestHandler.execute (/rbd/pnpm-volume/e510aebc-aa8d-41e6-bdbe-632fceb24fc5/node_modules/.registry.npmjs.org/discord.js/12.0.2/node_modules/discord.js/src/rest/RequestHandler.js:170:25)

10:28 PM

at processTicksAndRejections (internal/process/task_queues.js:88:5)

10:28 PM

(node:716) 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: 570)

Take a look at this thread: