#Pagination

10 messages · Page 1 of 1 (latest)

modest falconBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

mellow radish
#

Umm, those pages of an embed already are seperate embeds, so you’d do exactly the same you already do

zenith cradle
#

Let’s say I have 5 embeds and each embed has 10 pages.

At the end of page 10 on embed 1, id like to add a button that takes me to embed 2, page 1.

mellow radish
#

How can an embed have 10 pages? Those pages are individual embeds themselves…

zenith cradle
#

Rephrasing

Let’s say I have an array of arrays, each inner array having 6 image links.

[ [1,2,3,4,5,6], [1,2,3,4,5,6], etc]

Im able to produce an embed list for the first list in that array of arrays. But, I’d like to add a button that allows me to iterate to the next list in that array of arrays.

mellow radish
#

And what exactly is holding you from doing it? You know how to iterate an array, the outer array is just an array too

zenith cradle
#

Im unsure how to add a button to do this while using the customizable-discordjs-pagination lib

#

Thinking of just discarding the lib and doing it manually, but can’t find out to do this manually in the discord.js docs

mellow radish
#

Then ask the support of that lib. #rules 3

mellow radish