easy-script
v0.1.8
Published
Use most codes for simplicity
Downloads
26
Readme
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