Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

205
Views
Pagination with select menu and buttons discord.js

Something similar to dank memer I've been trying on how can we achieve where we can make a select menu for selecting categories and buttons to navigate through pages of those categories, the content in each category is an array. If someone could guide me, that'd be great! I have these two array's

const animals = ["Aardvark","Albatross","Alligator","Alpaca","Ant","Anteater","Antelope","Ape","Armadillo","Donkey","Baboon","Badger","Barracuda","Bat","Bear","Beaver","Bee","Bison","Boar","Buffalo","Butterfly","Camel"]

const tests = ["test1", "test2", "test3", "test4", "test5", "test6", "test7"]

So what I'm looking for is on how do I make the animal and tests to show in a select menu, and on selecting the animal category the animal array should be divided into pages with let's say 15 items per page, and user can navigate through them through buttons as shown in the image Similarly if user selects the tests array, the array contents should divide into pages with 15 elements per page and a button to navigate through those pages

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!