How would I go about making automated pagination

I would like to know how I would go about making a command where, it has pagination that are used using buttons and I am wondering how would make it automatically generate pages depending on how many results are returned. Any information or links to external resources would be greatly appreciated. DJS V14.0.1
1 Reply
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View