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

disc_hooks

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

disc_hooks

First npm module so it isn't the best / most efficient. Just used to send embeds/messages to discord webhooks

latest
npmnpm
Version
1.0.4
Version published
Maintainers
1
Created
Source

First npm module so it isn't the best / most efficient. Just used to send embeds/messages to discord webhooks

Example:

const webhook = require("disc_hooks");

const wh = new webhook.Webhook({
	webhook: "webhook url",
	username: "sesh",
	avatar_url: "url",
});

const embed = new webhook.Embed();

embed.addField("name", "value");
embed.setTitle("title");
embed.setDescription("desc");
embed.setThumbnail("thumb");

wh.send(embed);

FAQs

Package last updated on 20 Aug 2021

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