const {Discord, MessageEmbed, MessageButton, MessageActionRow } = require("discord.js"); const config = require(`${process.cwd()}/config.json`); const Trivia = require('weky') module.exports = { name: "trivia", description: "Play a game of trivia!", run: async (client, message, args) => { await Trivia({ message: message, embed: { title: 'Trivia Time', description: 'You only have **{{time}}** to guess the answer!', color: '#5865F2', footer: 'buckle up smarty pants!', timestamp: true }, difficulty: 'hard', thinkMessage: 'I am thinking', winMessage: 'GG, It was **{{answer}}**. You gave the correct answer in **{{time}}**.', loseMessage: 'Better luck next time! The correct answer was **{{answer}}**.', emojis: { one: '1️⃣', two: '2️⃣', three: '3️⃣', four: '4️⃣', }, othersMessage: 'Only <@{{author}}> can use the buttons!', returnWinner: false }); } }