Discord-Mini-Games.js

An Open-source Discord Mini-Games Package

View the Project on GitHub

EightBall

A Game, where you can ask the bot a yes/no question.

Importing

const {EightBall} = require('discord-mini-games.js');

Starting The Game

let message = message || interaction; // Message Object Or Interaction Object
let question = "Am I Dumb?"; // A yes/no question.
await EightBall(message,question);

returns messageObject of the Game.