Replies: 2 comments
-
It seems all properties that u listed on above, all of them are not available in Button Properties... Check out MessageButton. |
Beta Was this translation helpful? Give feedback.
0 replies
-
ok i go check, thanks |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, sorry for my english, im french and i do my best.
I need have information in the button, but all my try is "undefined"
if (message.components.length) { console.log("Message components:", message.components); const button = message.components[0].components[0]; console.log("Button class:", button.constructor.name); console.log("Button ID:", button.id); console.log("Button location:", button.location); console.log("Button type:", button.type); console.log("Button options:", button.options); await message.clickButton(button); }
i have try that, but id/type/option.. all in undefined, whats information can i have in the buttom and how ? thanks a lots and sorry agains for my bad english, im french and dont understand very good english.
Beta Was this translation helpful? Give feedback.
All reactions