Giter Site home page Giter Site logo

Comments (3)

JueXiuHuang avatar JueXiuHuang commented on August 19, 2024

I have the same problem, do you find any method to solve it?

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on August 19, 2024

can u log data (Object)

from discord.js-selfbot-v13.

AdamSaketume26 avatar AdamSaketume26 commented on August 19, 2024

@aiko-chan-ai sry i didnt see this for long time but i start project again and im having this issue again. i updated library and still having problems. this time data: [Object] is logged now but i dont remember changing anything

\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415
throw new DiscordAPIError(data, res.status, request);
^

DiscordAPIError: Invalid Form Body
COMPONENT_VALIDATION_FAILED: Component validation failed
at RequestHandler.execute (\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:415:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async RequestHandler.push (\node_modules\discord.js-selfbot-v13\src\rest\RequestHandler.js:63:14) {
method: 'post',
path: '/interactions',
code: 50035,
httpStatus: 400,
requestData: {
json: {
type: 3,
nonce: '1111111111111111111',
guild_id: '1111111111111111111',
channel_id: '1111111111111111111',
message_id: '1111111111111111111',
application_id: '1111111111111111111',
session_id: 'session id numbers and letters',
message_flags: 0,
data: {
component_type: 2,
custom_id: 'the custom id of message.components[0].components.customId'
}
},
files: [],
headers: undefined
},
retries: 0,
captcha: null
}

the custom_id was correct because i saw my own logging and the custom_id in the error matched one of the custom_id of my message component object

the error happens when doing message.clickButton

from discord.js-selfbot-v13.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.