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.
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