Error in discord.js v14
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[10062]: Unknown interaction
at handleErrors (/Users/macbookdrink/node_modules/@discordjs/rest/dist/index.js:687:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (/Users/macbookdrink/node_modules/@discordjs/rest/dist/index.js:786:23)
at async _REST.request (/Users/macbookdrink/node_modules/@discordjs/rest/dist/index.js:1218:22)
at async ChatInputCommandInteraction.reply (/Users/macbookdrink/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:111:5) {
requestBody: {
files: [],
json: {
type: 4,
data: {
content: 'Ocorreu um erro ao buscar informações do invocador.',
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/1167555442663239761/aW50ZXJhY3Rpb246MTE2NzU1NTQ0MjY2MzIzOTc2MToxRjUxd3dxRnBZR2tCSGpabGtRWm5BVUpMQnN0bmpEODEySnRiOXZJRVVTY0EwWVZWUGt3Um1Dd01qb1dGOVU3cG1ZWkU1VXlsa3lMcGxTRmpYc285RmVDMVhEaVFDR3ZiYmVLWWo2aGR0MjBnSURBNWswSTlxNG9KR25HMzBVVQ/callback'
}
Node.js v18.17.1
macbookdrink@MacBook-Pro-de-Patrik Rito Gomes % https://pastebin.com/mphtnzES my elo.js
https://pastebin.com/jDvAThkP also index.js
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.