Betting
Betting Example -
const { bet } = require('jelly-djs')
const game = await bet(message, bot)
switch (game.output) {
case 'Win':
// do win stuff here, you can disable normal win embeds and send your own embeds too.
break;
case 'Tie':
// do tie stuff here
break;
case 'Lose':
//do anytyhing if you Loose.
break;
}Required Parameters -
Optional Parameters -
Parameter
Type
Description
Default
Betting with options -
Last updated
Was this helpful?