Xenon
Xenon
DIAdiscord.js - Imagine an app
Created by Xenon on 10/1/2024 in #djs-questions
help meeded
error
Node.js v20.15.1
node:events:497
throw er; // Unhandled 'error' event
^
DiscordAPIError[40060]: Interaction has already been acknowledged.
at handleErrors (/app/node_modules/@discordjs/rest/dist/index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (/app/node_modules/@discordjs/rest/dist/index.js:831:23)
at async _REST.request (/app/node_modules/@discordjs/rest/dist/index.js:1272:22)
at async ChatInputCommandInteraction.reply (/app/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:115:5)
at async Client.<anonymous> (/app/bot.js:57:9)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:402: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,
enforce_nonce: false,
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,
applied_tags: undefined,
poll: undefined
}
}
},
rawError: {
message: 'Interaction has already been acknowledged.',
code: 40060
},
code: 40060,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1290710169088557218/aW50ZXJhY3Rpb246MTI5MDcxMDE2OTA4ODU1NzIxODo3R3JBQWdLdjUzN2xrU0d1eTRibzNaMVhudEREUkNtaDcxNHFKdXR5WFd1Vm5tZVdqTFJlVkZWTDBVWm1XZXJDSU5qMnhoYm82QWZ2Nkt1ekFDQWoxVDlGc3JpRkZaNHBRWURzdEEybFJvRURDcGphemtOc1EzZEZVSm9XajRwVA/callback'
}
Node.js v20.15.1
Node.js v20.15.1
node:events:497
throw er; // Unhandled 'error' event
^
DiscordAPIError[40060]: Interaction has already been acknowledged.
at handleErrors (/app/node_modules/@discordjs/rest/dist/index.js:727:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async BurstHandler.runRequest (/app/node_modules/@discordjs/rest/dist/index.js:831:23)
at async _REST.request (/app/node_modules/@discordjs/rest/dist/index.js:1272:22)
at async ChatInputCommandInteraction.reply (/app/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:115:5)
at async Client.<anonymous> (/app/bot.js:57:9)
Emitted 'error' event on Client instance at:
at emitUnhandledRejectionOrErr (node:events:402: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,
enforce_nonce: false,
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,
applied_tags: undefined,
poll: undefined
}
}
},
rawError: {
message: 'Interaction has already been acknowledged.',
code: 40060
},
code: 40060,
status: 400,
method: 'POST',
url: 'https://discord.com/api/v10/interactions/1290710169088557218/aW50ZXJhY3Rpb246MTI5MDcxMDE2OTA4ODU1NzIxODo3R3JBQWdLdjUzN2xrU0d1eTRibzNaMVhudEREUkNtaDcxNHFKdXR5WFd1Vm5tZVdqTFJlVkZWTDBVWm1XZXJDSU5qMnhoYm82QWZ2Nkt1ekFDQWoxVDlGc3JpRkZaNHBRWURzdEEybFJvRURDcGphemtOc1EzZEZVSm9XajRwVA/callback'
}
Node.js v20.15.1
```
5 replies
DIAdiscord.js - Imagine an app
Created by Xenon on 8/14/2024 in #djs-questions
Error on ticketing bot
help needed
8 replies
DIAdiscord.js - Imagine an app
Created by Xenon on 8/14/2024 in #djs-questions
error in sharding
[ SHARD ] Shard 0 in cluster 0 is deployed Error spawning shards: Error [ShardingReadyTimeout]: Shard 0's Client took too long to become ready. at Timeout.onTimeout (/home/container/node_modules/discord.js/src/sharding/Shard.js:183:16) at listOnTimeout (node:internal/timers:581:17) at process.processTimers (node:internal/timers:519:7) { code: 'ShardingReadyTimeout' }
12 replies