1.4.1 • Published 6 years ago
cah_game v1.4.1
Cards Against Humanity Game Node Package
Example script for implementation in a discord bot build on Discord.js
The script can be found insides examples/
var cah = require("./examples/cahgamehandler");
function cahStartCommand(msg){
cah.start(msg);
}
function cahJoinCommand(msg){
cah.join(msg);
}
function cahLeaveCommand(msg){
cah.leave(msg);
}
function cahChooseCommand(msg){
cah.choose(msg);
}
function cahResetCommand(msg){
cah.reset(msg);
}