cah_game

1.4.1 • Public • Published

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);
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i cah_game

      Weekly Downloads

      1

      Version

      1.4.1

      License

      ISC

      Unpacked Size

      142 kB

      Total Files

      7

      Last publish

      Collaborators

      • jorenvandeweyer