UNPKG

la-cosa-nostra

Version:

A Mafia bot designed to run in Discord - beware the traitors and the lies!

15 lines (8 loc) 360 B
var rs = require("../../../rolesystem/rolesystem.js"); module.exports = function (actionable, game, params) { var self = game.getPlayerByIdentifier(actionable.from); self.misc.jester_lynched = true; self.misc.jester_lynchers = params.votes; self.getPrivateChannel().send(":black_joker: You successfully got yourself lynched!"); return true; };