la-cosa-nostra
Version:
A Mafia bot designed to run in Discord - beware the traitors and the lies!
22 lines (12 loc) • 750 B
JavaScript
var lcn = require("../../../../../source/lcn.js");
// Routines
// Runs every cycle
// Function should be synchronous
var auxils = lcn.auxils;
var attributes = lcn.attributes;
module.exports = function (player) {
var config = player.game.config;
var channel = player.getPrivateChannel();
var prefix = config["command-prefix"];
player.addIntroMessage(":zap: This is a modular set-up. This is a directory for modular commands:\n\n:one: `" + prefix + "power`: lists all available modular powers.\n:two: `" + prefix + "power <power name>`: provides the information associated with a modular power.\n:three: `" + prefix + "listpowers`: lists all the powers you have at the time of execution. May only be run in your private channel.");
};