Hi I made a bot . Its not mine first time . But its my first time when i am getting Discord Api error after activating my bot . The bot don’t take down but showing this error everytime when i restart . Can someone explain why i am facing this error !
(node:115) UnhandledPromiseRejectionWarning: DiscordAPIError: Missing Permissions
at RequestHandler.execute (/rbd/pnpm-volume/eaf057ce-040c-41f9-b26f-4cade15fb664/node_modules/.registry.npmjs.org/discord.js/12.4.1/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
at processTicksAndRejections (internal/process/task_queues.js:88:5)
at async RequestHandler.push (/rbd/pnpm-volume/eaf057ce-040c-41f9-b26f-4cade15fb664/node_modules/.registry.npmjs.org/discord.js/12.4.1/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
(node:115) 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: 1)
(node:115) [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.