New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

easy-script

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-script

Use most codes for simplicity

latest
npmnpm
Version
0.1.8
Version published
Maintainers
1
Created
Source

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

Keywords

easy

FAQs

Package last updated on 07 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts