Killer Boss Original
Killer Boss Original
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
So in the message there isn't something to get something like "message.executer"... thanks for ur help
11 replies
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
I would prefer having two different bots...
11 replies
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
Sorry but we aren't english so we can't speak very well
11 replies
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
I've set the token in that plugin, and i have to check from a different bot how many times someone do a command.
11 replies
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
We are making a private bot for our server, and there is an automated bot managed by a plugin of a game... I don't want to set the same token in two different bots
11 replies
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
I'm in a vocal with him
11 replies
DIAdiscord.js - Imagine an app
Created by Steooo on 9/17/2024 in #djs-questions
Store a command
He was talking about storing other's bot commands
11 replies
DIAdiscord.js - Imagine an app
Created by awdev_ on 8/31/2024 in #djs-voice
How to make a slash command allowed to be used in user dms and external servers
Any alternative to use it? Some external libs?
9 replies
DIAdiscord.js - Imagine an app
Created by awdev_ on 8/31/2024 in #djs-voice
How to make a slash command allowed to be used in user dms and external servers
How long until it will be available?
9 replies
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