Separate content into pages

lets say i make an api call and it returns a massive paragraph which i would like to put in an embed with different pages... like in the first page there will be the first 4000 chars and so on... and u can switch b/w the pages using buttons how do i separate the content into pages and the content can be of any length so it cannot be hard coded
2 Replies
d.js toolkit
d.js toolkit15mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
wen
wenOP15mo ago
node: v18.14.2 discord.js: [email protected]
Want results from more Discord servers?
Add your server