Zach
Zach
DIAdiscord.js - Imagine an app
Created by Zach on 3/20/2024 in #djs-questions
How to create multiple .addStringOptions
That was it, thanks!
6 replies
DIAdiscord.js - Imagine an app
Created by Zach on 3/20/2024 in #djs-questions
How to create multiple .addStringOptions
Not yet, let me try
6 replies
DIAdiscord.js - Imagine an app
Created by Zach on 3/20/2024 in #djs-questions
How to create multiple .addStringOptions
I waited until the bot stopped all the way just in case
6 replies
DIAdiscord.js - Imagine an app
Created by Zach on 3/20/2024 in #djs-questions
How to create multiple .addStringOptions
I sure did
6 replies
DIAdiscord.js - Imagine an app
Created by Zach on 3/20/2024 in #djs-questions
Embed User Input
Thank you! I was able to get variables in place to handle input, but now I have a seperate issue related to it. When I send the Embed I am receiving an error and it is stopping my bot and I have to restart, any idea how to prevent this from happening? The command works perfectly, I just need it to not quit the app when I run the embed: DiscordAPIError[10062]: Unknown interaction at handleErrors (c:\Coding Projects\Javascript\DAD_BOT\node_modules@discordjs\rest\dist\index.js:722:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async BurstHandler.runRequest (c:\Coding Projects\Javascript\DAD_BOT\node_modules@discordjs\rest\dist\index.js:826:23) at async _REST.request (c:\Coding Projects\Javascript\DAD_BOT\node_modules@discordjs\rest\dist\index.js:1266:22) at async ChatInputCommandInteraction.reply (c:\Coding Projects\Javascript\DAD_BOT\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5) at async Object.execute (c:\Coding Projects\Javascript\DAD_BOT\commands\utility\mapwipe.js:32:9) at async Object.execute (c:\Coding Projects\Javascript\DAD_BOT\events\interactionCreate.js:16:4) { requestBody: { files: [], json: { type: 4, data: [Object] } }, rawError: { message: 'Unknown interaction', code: 10062 }, code: 10062, status: 404, method: 'POST', url: 'https://discord.com/api/v10/interactions/1219845625416388609/aW50ZXJhY3Rpb246MTIxOTg0NTYyNTQxNjM4ODYwOTpzUFd4VXoxVFFpNm9Yd1NZdlpHdERId1ppdDl2cmpOTWNCa05jS2tnTXVoVHpVdmlUWkE1UWFzcjBXdWFIVklaeTVlQXltTG5vSTAyamdsazBMazN3TjhLMGxMR0ZYTlRPMnlkZHdYY3M1VUFXc0lPSnZIU3lSSURwc1llQk8wRw/callback' } node:events:496 throw er; // Unhandled 'error' event ^ DiscordAPIError[40060]: Interaction has already been acknowledged. at handleErrors (c:\Coding Projects\Javascript\DAD_BOT\node_modules@discordjs\rest\dist\index.js:722:13) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async BurstHandler.runRequest (c:\Coding Projects\Javascript\DAD_BOT\node_modules@discordjs\rest\dist\index.js:826:23) at async _REST.request (c:\Coding Projects\Javascript\DAD_BOT\node_modules@discordjs\rest\dist\index.js:1266:22)
at async ChatInputCommandInteraction.reply (c:\Coding Projects\Javascript\DAD_BOT\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5) at async Object.execute (c:\Coding Projects\Javascript\DAD_BOT\events\interactionCreate.js:22:5) Emitted 'error' event on Client instance at: at emitUnhandledRejectionOrErr (node:events:401:10) at process.processTicksAndRejections (node:internal/process/task_queues:84:21) { requestBody: { files: [], json: { type: 4, data: { content: 'There was an error while executing this command!', tts: false, nonce: undefined, embeds: undefined, components: undefined, username: undefined, avatar_url: undefined, allowed_mentions: undefined, flags: 64, message_reference: undefined, attachments: undefined, sticker_ids: undefined, thread_name: undefined } } }, rawError: { message: 'Interaction has already been acknowledged.', code: 40060 }, code: 40060, status: 400, method: 'POST', url: 'https://discord.com/api/v10/interactions/1219845625416388609/aW50ZXJhY3Rpb246MTIxOTg0NTYyNTQxNjM4ODYwOTpzUFd4VXoxVFFpNm9Yd1NZdlpHdERId1ppdDl2cmpOTWNCa05jS2tnTXVoVHpVdmlUWkE1UWFzcjBXdWFIVklaeTVlQXltTG5vSTAyamdsazBMazN3TjhLMGxMR0ZYTlRPMnlkZHdYY3M1VUFXc0lPSnZIU3lSSURwc1llQk8wRw/callback' }
11 replies