Replies: 2 comments 11 replies
-
You need to tell the message what button to click. Discord works with component rows: 5 rows max, with 5 components per row. You can use Google to learn more about components. This assumes you are clicking the first button of the first row. message_id.components[0].components[0].clickButton(); If you want to click the first button of the second row, use this. message_id.components[1].components[0].clickButton(); lmk if this resolves the question |
Beta Was this translation helpful? Give feedback.
-
You are trying to use .clickButton() function on a InteractionResponse which won't work. |
Beta Was this translation helpful? Give feedback.
-
Code:
Error:
Beta Was this translation helpful? Give feedback.
All reactions