UNPKG

discord-mini-games.js

Version:

a package to implement mini-games using discord.js-v14

9 lines 230 B
const truths = require('./assets/truth.json').truth; /** * Get a random Truth. * @returns {String} - Random Truth. */ function Truth() { return truths[Math.floor(Math.random() * (truths.length - 1))]; } module.exports = Truth;