usuario_366
usuario_366
DIAdiscord.js - Imagine an app
Created by usuario_366 on 10/3/2023 in #djs-questions
Circular dependency
combat.js
6 replies
DIAdiscord.js - Imagine an app
Created by usuario_366 on 10/3/2023 in #djs-questions
Circular dependency
interactionEvents.js
6 replies
DIAdiscord.js - Imagine an app
Created by usuario_366 on 10/3/2023 in #djs-questions
Circular dependency
spawnCreatures.js
6 replies
DIAdiscord.js - Imagine an app
Created by usuario_366 on 10/3/2023 in #djs-questions
Circular dependency
index.js
6 replies
DIAdiscord.js - Imagine an app
Created by usuario_366 on 7/21/2023 in #djs-questions
Unknown interaction
if(interaction && !interaction.replied)
{
interaction.reply
(
{
content: "SEDE!",
ephemeral: true
}
).catch
(
error =>
{
console.error("Erro ao responder a interação:", error.message);
console.error("Erro completo:", error);
console.error("Interaction ID:", interaction.id);
}
);
}
if(interaction && !interaction.replied)
{
interaction.reply
(
{
content: "SEDE!",
ephemeral: true
}
).catch
(
error =>
{
console.error("Erro ao responder a interação:", error.message);
console.error("Erro completo:", error);
console.error("Interaction ID:", interaction.id);
}
);
}
6 replies
DIAdiscord.js - Imagine an app
Created by usuario_366 on 7/21/2023 in #djs-questions
Unknown interaction
I've tried checking if the interaction is valid before executing and putting a catch block just in case. And, it still executes, and it stops at the catch block.
6 replies
DIAdiscord.js - Imagine an app
Created by usuario_366 on 7/21/2023 in #djs-questions
Unknown interaction
console:
Fora498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Dentro outro498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Dentro 15498212702578016267
Dentro 15498212702578016267
Erro ao responder a interação: Unknown interaction
Erro completo: DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\@discordjs\rest\dist\index.js:640:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\@discordjs\rest\dist\index.js:736:23)
at async REST.request (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\@discordjs\rest\dist\index.js:1387:22)
at async ChatInputCommandInteraction.reply (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5) { 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/1131919196935172228/aW50ZXJhY3Rpb246MTEzMTkxOTE5NjkzNTE3MjIyODpwOWxQRjFiTExidjRXazR2eEFjU0NkN3dCUjNhSGFmMVdqckpSa2s1bDVkczhSZk1tdEZRVHJyYWplc0QzeTN3QlUxNFY5WkFGSHRVN1F0THRWdlYza2dpMUxWV1FZZjhxSGFtWEJIWW41T3BBdWljWXVQY1JydTNWUXNNSHBPcw/callback'
}
Interaction ID: 1131919196935172228
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Dentro outro498212702578016267
Fora498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Dentro outro498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Dentro 15498212702578016267
Dentro 15498212702578016267
Erro ao responder a interação: Unknown interaction
Erro completo: DiscordAPIError[10062]: Unknown interaction
at handleErrors (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\@discordjs\rest\dist\index.js:640:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\@discordjs\rest\dist\index.js:736:23)
at async REST.request (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\@discordjs\rest\dist\index.js:1387:22)
at async ChatInputCommandInteraction.reply (C:\Users\JARDEL\Desktop\Programming\Robots\Discord\RPGame\node_modules\discord.js\src\structures\interfaces\InteractionResponses.js:111:5) { 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/1131919196935172228/aW50ZXJhY3Rpb246MTEzMTkxOTE5NjkzNTE3MjIyODpwOWxQRjFiTExidjRXazR2eEFjU0NkN3dCUjNhSGFmMVdqckpSa2s1bDVkczhSZk1tdEZRVHJyYWplc0QzeTN3QlUxNFY5WkFGSHRVN1F0THRWdlYza2dpMUxWV1FZZjhxSGFtWEJIWW41T3BBdWljWXVQY1JydTNWUXNNSHBPcw/callback'
}
Interaction ID: 1131919196935172228
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Meio498212702578016267
Dentro outro498212702578016267
6 replies