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

187
Views
Discord.js Bot Quiz Command

I was looking for a command that would give a question and 4 options ( if possible as buttons or reactions), where i could give questions in the code with the correct answer, but all i could find online were for slash commands, getting questions from a website or were v12 of discord.js.

I don't know much, so any help would be great.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Checkout my library discord-trivia, used for integrating full trivia matches.

npm i discord-trivia

You can use either Messages or slash command interactions

// Namespace
const { TriviaManager } = require('discord-trivia');
const trivia = new TriviaManager();

// Function
const game = trivia.createGame(message); // or createGame(interaction)

game
   .start()
   .catch(console.error);

Check out the NPM page for a full walkthrough on customization

about 4 years ago · Juan Pablo Isaza Report
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!