Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
discord-player-music
Advanced tools
A powerful music module for your Discord bot with lots of features
Discord Player Music is a powerful Node.js music module for your Discord.js bot that based on Promises and has a lot of features.
Node.js 16.9.0 or newer is required.
$ npm install discord-player-music
$ yarn add discord-player-music
$ pnpm add discord-player-music
const { Client, GatewayIntentBits, Partials } = require('discord.js');
const { Player } = require('discord-player-music');
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.GuildMessageReactions,
GatewayIntentBits.GuildVoiceStates
],
partials: [
Partials.Channel,
Partials.GuildMember,
Partials.Message,
Partials.Reaction,
Partials.User
]
});
client.player = new Player(client);
client.on('ready', async () => {
return console.log('Client is ready!');
})
client.player.on('ready', async () => {
return console.log('Player is ready!');
})
client.login('YOUR_CLIENT_TOKEN_HERE');
NPM: Open
GitHub: Open
Examples: See
Documentation: Open
Module Developer: xyligan
Developer Discord: ♡ xүℓ[ι]gαη4εg ♡#9457
Support Server: Join xyligan development
FAQs
A powerful music module for your Discord bot with lots of features
The npm package discord-player-music receives a total of 4 weekly downloads. As such, discord-player-music popularity was classified as not popular.
We found that discord-player-music demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.