3.0.0 • Published 3 years ago

pup-util v3.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Install

yarn add pup-util
npm install pup-util

Embed

const { Embed } = require("pup-util");

let embed = new Embed()
.setColor('mc')
.setTitle('title')
.setDescription('description');

SafeEval

const { SafeEval } = require("pup-util");

return SafeEval('Function(x){return x.repeat(10);}("a")');

SlashCommand

const { SlashCommand } = require("pup-util");

let slashCommand = new SlashCommand()
.setName("config")
.setDescription("no description")
.addOptions(
    new SlashCommand()
    .setType(3)
    .setName("lang")
    .setDescription("no description")
    .isRequired()
    .addChoices(["English", "en"])
)
3.0.0

3 years ago

2.0.6

3 years ago

2.0.3

3 years ago

2.0.2

3 years ago

2.0.5

3 years ago

2.0.4

3 years ago

2.0.1

3 years ago

2.0.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago