Killer Boss Original
Killer Boss Original
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
a log, after 20 minutes, this is the full error:
/home/container/node_modules/@discordjs/rest/dist/index.js:640
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[50027]: Invalid Webhook Token
at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:640:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:1021:23)
at async SequentialHandler.queueRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:862:14)
at async REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1387:22)
at async InteractionWebhook.editMessage (/home/container/node_modules/discord.js/src/structures/Webhook.js:338:15)
at async ChatInputCommandInteraction.editReply (/home/container/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:158:17)
at async Object.execute (file:///home/container/build/interactions/commands/ping.js:8:9) {
requestBody: {
files: [],
json: {
content: 'Pong! ',
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: 'Invalid Webhook Token', code: 50027 },
code: 50027,
status: 401,
method: 'PATCH',
url: 'https://discord.com/api/v10/webhooks/***/***/messages/@original'
}
Node.js v18.16.1
/home/container/node_modules/@discordjs/rest/dist/index.js:640
throw new DiscordAPIError(data, "code" in data ? data.code : data.error, status, method, url, requestData);
^
DiscordAPIError[50027]: Invalid Webhook Token
at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:640:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:1021:23)
at async SequentialHandler.queueRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:862:14)
at async REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1387:22)
at async InteractionWebhook.editMessage (/home/container/node_modules/discord.js/src/structures/Webhook.js:338:15)
at async ChatInputCommandInteraction.editReply (/home/container/node_modules/discord.js/src/structures/interfaces/InteractionResponses.js:158:17)
at async Object.execute (file:///home/container/build/interactions/commands/ping.js:8:9) {
requestBody: {
files: [],
json: {
content: 'Pong! ',
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: 'Invalid Webhook Token', code: 50027 },
code: 50027,
status: 401,
method: 'PATCH',
url: 'https://discord.com/api/v10/webhooks/***/***/messages/@original'
}
Node.js v18.16.1
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
and
client.rest.on('rateLimited', console.log)
client.rest.on('rateLimited', console.log)
didn't log anything
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
i don't know but for example
curl -X POST --data '{"content": "test"}' --header "Content-Type:application/json" https://discord.com/api/webhooks/***/***/***
curl -X POST --data '{"content": "test"}' --header "Content-Type:application/json" https://discord.com/api/webhooks/***/***/***
works and return
x-ratelimit-limit: 5
x-ratelimit-remaining: 4
x-ratelimit-reset: 1689626262
x-ratelimit-reset-after: 1
x-ratelimit-limit: 5
x-ratelimit-remaining: 4
x-ratelimit-reset: 1689626262
x-ratelimit-reset-after: 1
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
sorry
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
and the bot online don't have any interaction
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
but is all offline...
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
but there isn't a bot online on that network, or anything that use a webhook
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
yes i writed it wrong, it is ok in the code
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 7/17/2023 in #djs-questions
editReply after deferReply don't works
node v18.16.1 discordjs v14.11.0
11 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 1/8/2023 in #djs-questions
Discord Linked Roles
ok
7 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 1/8/2023 in #djs-questions
Discord Linked Roles
oh
7 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 8/21/2022 in #djs-questions
name_localizations[STRING_TYPE_REGEX] String value did not match validation regex.
but it work with all the other commands
10 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 8/21/2022 in #djs-questions
name_localizations[STRING_TYPE_REGEX] String value did not match validation regex.
@Nes
10 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 8/21/2022 in #djs-questions
name_localizations[STRING_TYPE_REGEX] String value did not match validation regex.
10 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 8/21/2022 in #djs-questions
name_localizations[STRING_TYPE_REGEX] String value did not match validation regex.
what can i do?
10 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 8/18/2022 in #djs-questions
How can I check the height of a member's first role?
thx
9 replies
DIAdiscord.js - Imagine an app
Created by Killer Boss Original on 8/18/2022 in #djs-questions
How can I check the height of a member's first role?
wow
9 replies