How to make buttons in Discord.js

13,988

You can use the package for buttons: https://npmjs.com/discord-buttons Docs: https://discord-buttons.js.org

All packages above have been copied by us....

Share:
13,988

Related videos on Youtube

Andryxa
Author by

Andryxa

Updated on June 04, 2022

Comments

  • Andryxa
    Andryxa almost 2 years

    There was information that the buttons will be added soon. This feature is available to some, but so far only in Python.

    How to do this on Discord.js???

    enter image description here enter image description here enter image description here

    • Elitezen
      Elitezen almost 3 years
      You will have to wait until the master branch implements it
    • user15517071
      user15517071 almost 3 years
      This is an undocumented feature known as "Desktop Bot UI Kit Buttons". It will not show even if you manage to send the right format to the API unless you use a client mod against the TOS.
    • user15517071
      user15517071 almost 3 years
      A quick search yields this: github.com/v-briese/discord-bot-gui-testing
    • user15517071
      user15517071 almost 3 years
      The Discord client experiment for "Bot UI Kit Buttons" was added in April 2021, but has been removed since build 2a314b2ec9ed999e2b523f9439a8cb8be43305c7, released on 19th May. There is no official documentation regarding this feature.
    • user15517071
      user15517071 almost 3 years
      Update: Buttons have been added to the developer documentation, see discord.com/developers/docs/interactions/message-components