Error while clicking buttons?? #356
Unanswered
123GG-Gamer
asked this question in
Q&A
Replies: 1 comment 1 reply
-
i got this error and forgot how to fix =))) |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
My Code ->
clickButton = async (msg, rowidx, buttonidx) => {
/* Boolean */
let success = true;
try {
await msg.clickButton(msg.components[rowidx]?.components[buttonidx].customId);
} catch (e) {
success = false;
console.log("Prevented Button Error");
} finally {
return success;
}
};
i still get a error i don't even know if its button error or whatever ('INTERACTION_TIMEOUT') (image)
file: src/structures/ApplicationCommand.js:875
also can u add me on discord? Splex#2228
Beta Was this translation helpful? Give feedback.
All reactions