aiko-chan-ai / discord.js-selfbot-v13

An unofficial discord.js fork for creating selfbots
https://discordjs-self-v13.netlify.app
GNU General Public License v3.0
751 stars 160 forks source link

ButtonID #627

Closed Unknown-user-dev closed 1 year ago

Unknown-user-dev commented 1 year ago

Which package is the feature request for?

The documentation

Feature

I search of to get buttonid of a bot message

Ideal solution or implementation

i try this

  client.on('interactionCreate', async interaction => {
    if (interaction.isButton()) {
      const buttonId = interaction.customId;
      console.log(`Identifiant du bouton : ${buttonId}`);
    }
  });

and i got no response

Alternative solutions or implementations

No response

Other context

No response

Unknown-user-dev commented 1 year ago

And another thing (the channel with the button is text locked so i just search how to click only) it's for tacoshack selfbot

aiko-chan-ai commented 1 year ago

this event is not like bot

aiko-chan-ai commented 1 year ago

https://discordjs-self-v13.netlify.app/#/docs/docs/main/typedef/InteractionResponseBody