Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const rpgDiceRoller = require("rpg-dice-roller");
const DiceRoller = new rpgDiceRoller.DiceRoller();
module.exports = {
aliases: [
"customdice",
"croll",
"cdice",
],
builder: build => {
build.positional("dice", {
describe: "The dice you want to roll, in standard RPG format.",
type: "string",
});
},
command: "customroll",
describe: "Rolls dice with a custom notation.",
handler: args => {