Noelle
Noelle
DIAdiscord.js - Imagine an app
Created by Noelle on 8/18/2023 in #djs-questions
How do I remove a role from a member
I feel like I overlooked the reason. Any ideas? /home/noel/code/nodejs/discordbot/node_modules/@discordjs/rest/dist/index.js:687 throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData); ^ DiscordAPIError[10062]: Unknown interaction at handleErrors (/home/noel/code/nodejs/discordbot/node_modules/@discordjs/rest/dist/index.js:687:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async BurstHandler.runRequest (/home/noel/code/nodejs/discordbot/node_modules/@discordjs/rest/dist/index.js:786:23) at async _REST.request (/home/noel/code/nodejs/discordbot/node_modules/@discordjs/rest/dist/index.js:1218:22) at async ChatInputCommandInteraction.reply (/home/noel/code/nodejs/discordbot/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:111:5) { requestBody: { files: [], json: { type: 4, data: { content: 'noeldoescoding is not muted', tts: false, nonce: undefined, embeds: undefined, components: undefined, username: undefined, avatar_url: undefined, allowed_mentions: undefined, flags: undefined, message_reference: undefined, attachments: undefined, sticker_ids: undefined, thread_name: undefined } } }, rawError: { message: 'Unknown interaction', code: 10062 }, code: 10062, status: 404, method: 'POST', url: 'https://discord.com/api/v10/interactions/1142258175567995013/aW50ZXJhY3Rpb246MTE0MjI1ODE3NTU2Nzk5NTAxMzpuYVVIZlZZSVI5bWhkMTRET1FOYmptZlR0OEV1ZFJReTJvVWpheFp3azE0VFN3NmZnVk5ZblpzMW5ibnE3ZlVwdldjWVY2dEdWRENVSWhtUlJ1bVN4Q0hVUEt6Tk9abHpkVHcyQW9qNWY0OTBoTnpnUDZKRkYwdFFvdEp6TTRnWg/callback' }
4 replies