Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

185
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda