Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@helperdiscord/dsc.gg
Advanced tools
A node js wrapper for dsc.gg
To use this package, you need to create a developer app here and grab the API token. This token is required for all API requests.
Install with NPM
npm install @helperdiscord/dsc.gg
Install with Yarn
yarn install @helperdiscord/dsc.gg
Initilize the @helperdiscord/dsc.gg client
const { Client } = require("@helperdiscord/dsc.gg");
const client = new Client("Your API token")
Fetch information on a dsc.gg link
const link = await client.getLink('link_ending')
Fetch information on a dsc.gg user
const user = await client.getUser('user_id')
Fetch a dsc.gg user's links
const links = await client.getUserLinks('user_id')
Fetch the top dsc.gg links
const top_links = await client.getTopLinks()
Search for dsc.gg links
const results = await client.searchLinks('search_query', {
type: 'bot', //optional - can be bot, server, or template
limit: 10, //optional - limit the # of results that will be returned
})
Create a dsc.gg link
const response = await client.createLink('link_ending', {
type: 'server', //this can be server, bot, template or link
redirect: 'something', //the redirect of the link
unlisted: false, //true or false
password: 'some_password', //optional - exclude this for no password
meta: {
title: 'some embed title', //optional
description: 'some embed description', //optional
image: 'some image url' //optional
}
})
Update a dsc.gg link
const response = await client.updateLink('link_ending', {
type: 'server', //this can be server, bot, template or link
redirect: 'something', //the redirect of the link
unlisted: false, //true or false
password: 'some_password', //optional - exclude this for no password
meta: {
title: 'some embed title', //optional
description: 'some embed description', //optional
image: 'some image url' //optional
}
})
Delete a dsc.gg link
const response = await client.deleteLink('link_ending')
Search for links from a given input
const {Client} = require('./dist/index');
const c = new Client('token');
(async () => {
const r = await c.searchLinks('helper', {type: 'bot'});
console.log(r);
})();
FAQs
<img src="https://img.shields.io/gi
The npm package @helperdiscord/dsc.gg receives a total of 1 weekly downloads. As such, @helperdiscord/dsc.gg popularity was classified as not popular.
We found that @helperdiscord/dsc.gg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
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.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.