Giter Site home page Giter Site logo

Comments (8)

aiko-chan-ai avatar aiko-chan-ai commented on September 28, 2024 2

How long do we have to wait for an update? Or how do I fix it now.

image
I think I've finished this update temporarily, although there's still a lot of functionality I haven't done yet :sad:

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on September 28, 2024

When i trying click the button on the message using this method:
msg.clickButton(msg.components["0"].components["1"].customId) //customId is right
i get error:
Uncaught DiscordAPIError DiscordAPIError: Unknown Message

features of the message that it is retry and ephemeral
browser_iLEVK6v4Ba

I think maybe the reason is the ephemeral message, I will check it later
sorry for your experience

from discord.js-selfbot-v13.

nikita51bot avatar nikita51bot commented on September 28, 2024

Ok, ping me pls, when you fix this bug

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on September 28, 2024

Ok, ping me pls, when you fix this bug

Yea

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on September 28, 2024

Ok, ping me pls, when you fix this bug

I found it is not possible to get the message id or fetch the ephemeral message, you can use cache to get it.
That error may be because you got the wrong message to send a button .-.

from discord.js-selfbot-v13.

nikita51bot avatar nikita51bot commented on September 28, 2024

Okey, but how got right message? I try this method, not worked too

client.channels.cache.get('id channel').messages.fetch(msg.id).then(message => {
              console.log(message)
              console.log(message.components["0"].components["1"].customId)
              message.clickButton(message.components["0"].components["1"].customId)

the message is identical to the last one

from discord.js-selfbot-v13.

aiko-chan-ai avatar aiko-chan-ai commented on September 28, 2024

client.channels.cache.get('id channel').messages.fetch(msg.id).then(message => {
console.log(message)
console.log(message.components["0"].components["1"].customId)
message.clickButton(message.components["0"].components["1"].customId)

I fixed that error, you can use it as usual in the next version
And now I still need to fix some bugs so you can wait too
maybe dev version

from discord.js-selfbot-v13.

nikita51bot avatar nikita51bot commented on September 28, 2024

How long do we have to wait for an update?
Or how do I fix it now.

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.