easy-script

0.1.8 • Public • Published

Easy-Script




Join Our Support Server for get support or report bugs




const EZ = require('easy-script'); // ["embed", "mod"];
 
// embed function:
EZ.embed(title, author, desc, footer, color, thumbnail, image);
// Example: 
EZ.embed("The Title", "none", "Made by Derpy", footer, "#FFFFFF", thumbnail, image);
// put "none" for disable something you want;
 
// moderation function:
EZ.mod(message, action, channel, user, reason, length);
// actions list for now: warn, kick, ban;
// Example:
EZ.mod(message, "kick", "mod-log", "388320576407863297", "test"); 
// channel can be name or id; user can be username or id;
 
// Example with length:
EZ.mod(message, "ban", "mod-log", "388320576407863297", "test", "10m");
// 5s - seconds; 10m - minutes; 3h - hours; 1d - days;
 

  • npm i easy-script

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.8
    1
    • latest

Version History

Package Sidebar

Install

npm i easy-script

Weekly Downloads

21

Version

0.1.8

License

ISC

Unpacked Size

13.9 kB

Total Files

9

Last publish

Collaborators

  • derpydev