#Embed Replying on Top of a Sent Embed Issue
1 messages · Page 1 of 1 (latest)
That’s why deferReply does
How would I edit the code to make it edit the original msg
i already have update at the ```ts
if (b.deferred || b.replied) {
await b.update({
embeds: [
pages[page].setFooter({ text: Page ${page + 1} / ${pages.length} }),
],
components: [row, menuRow],
});
}
o
so what should my if statement be if my else is goint to update
It shouldn’t ever happen
There’s prob other issues if you have a button being replied/deferred multiple times
So i should just have this since my colector is meant for paginator?
case 'forward':
page = page + 1 < pages.length ? ++page : 0;
console.log(b.deferred, b.replied);
await b.update({
embeds: [
pages[page].setFooter({ text: `Page ${page + 1} / ${pages.length}` }),
],
components: [row, menuRow],
});```
Yea
https://sourceb.in/r0hAarq6G0 i keep getting an error after selecting a new menu option, then going back and clicking on buttons