eightball-extensible
v1.0.0
Published
Magic Eightball, with some ability to add non-standard responses, either in addition to or instead of the standard responses.
Readme
A slightly extensible eightball. When consulted, returns a promise
Usage
const EightBall = require('eightball-extensible');
let e = new EightBall({});
e.consult().then(function(response){
...
})
// Adds two extra responses to the standard eightball responses
let e2 = new EightBall({additionalResponses: ['Yeah, nah', 'Sure, why not']});
// Overrides the standard responses with our own
let e3 = new EightBall({responses: ['Yeah, nah', 'Sure, why not']});