ImMrBloo
ImMrBloo
DIAdiscord.js - Imagine an app
Created by ImMrBloo on 2/2/2024 in #djs-questions
Error Code I can't seem to figure out
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\mattw\OneDrive\Desktop\super\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\mattw\OneDrive\Desktop\super\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\mattw\OneDrive\Desktop\super\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async AutocompleteInteraction.respond (C:\Users\mattw\OneDrive\Desktop\super\node_modules\discord.js\src\structures\AutocompleteInteraction.js:86:5)
at async clanAutocomplete (C:\Users\mattw\OneDrive\Desktop\super\src\framework\functions\functions.js:376:5)
at async Object.autocomplete (C:\Users\mattw\OneDrive\Desktop\super\src\modules\clans\slashCommands\clans.js:244:21)
at async module.exports (C:\Users\mattw\OneDrive\Desktop\super\src\framework\events\interactionCreate.js:31:13) {
requestBody: { files: undefined, json: { type: 8, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1202823522397978674/aW50ZXJhY3Rpb246MTIwMjgyMzUyMjM5Nzk3ODY3NDo0eWd6dlAwQ1hqbEEwWDF2S2R2Rk5zREtxMmVTRmZQbVN5Rkk2Y0t6SFRmMWhhNDhhS2NwbjRmM3JWQmt3SFFjMkM3bVpwMmlZNUVGTENUb0s5TWVxVVQyUGdXVURDUGRSWkZubnRsODc5MVpsclRITHh6YWJtdk80Z2R4ZENZSA/callback'
}
DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\mattw\OneDrive\Desktop\super\node_modules\@discordjs\rest\dist\index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\mattw\OneDrive\Desktop\super\node_modules\@discordjs\rest\dist\index.js:826:23)
at async _REST.request (C:\Users\mattw\OneDrive\Desktop\super\node_modules\@discordjs\rest\dist\index.js:1266:22)
at async AutocompleteInteraction.respond (C:\Users\mattw\OneDrive\Desktop\super\node_modules\discord.js\src\structures\AutocompleteInteraction.js:86:5)
at async clanAutocomplete (C:\Users\mattw\OneDrive\Desktop\super\src\framework\functions\functions.js:376:5)
at async Object.autocomplete (C:\Users\mattw\OneDrive\Desktop\super\src\modules\clans\slashCommands\clans.js:244:21)
at async module.exports (C:\Users\mattw\OneDrive\Desktop\super\src\framework\events\interactionCreate.js:31:13) {
requestBody: { files: undefined, json: { type: 8, data: [Object] } },
rawError: { message: 'Unknown interaction', code: 10062 },
code: 10062,
status: 404,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1202823522397978674/aW50ZXJhY3Rpb246MTIwMjgyMzUyMjM5Nzk3ODY3NDo0eWd6dlAwQ1hqbEEwWDF2S2R2Rk5zREtxMmVTRmZQbVN5Rkk2Y0t6SFRmMWhhNDhhS2NwbjRmM3JWQmt3SFFjMkM3bVpwMmlZNUVGTENUb0s5TWVxVVQyUGdXVURDUGRSWkZubnRsODc5MVpsclRITHh6YWJtdk80Z2R4ZENZSA/callback'
}
I'll include the code for the two paths that's being called. Please point out what I've done wrong?
14 replies
DIAdiscord.js - Imagine an app
Created by ImMrBloo on 7/31/2023 in #djs-questions
Slash command not executing
My command doesn't seem to want to execute
4 replies
DIAdiscord.js - Imagine an app
Created by ImMrBloo on 7/25/2022 in #djs-questions
Audit Log Trouble
Hello, I'm having an issue within the Audit Logs and would love some help. I'm not sure what's specifically going on but this is the best I can explain it. 1) I've saved the audit logs to my personal database. 2) I turned the bot off 3) I made a new channel called 'a' 4) I turned the bot back on and collected the new list of entries 5) I compared the new list of entries with the database saved using the .difference() in collections. It logs two different auditlog entries, with two different keys, and one of them has even more information than the previous one. Does anyone know what has caused this, or would you be willing to run my code and tell me if it's happening to you also?
10 replies