New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cocoa-discord/music-module

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cocoa-discord/music-module

discord.js music bot that can be run standalone or as a module for other bots

  • 3.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by150%
Maintainers
1
Weekly downloads
 
Created
Source

@cocoa-discord/music-module

Music Bot components extracted from harunon.js

How to use

This package has 2 parts, the underlying mechanics and the part that consume it.

You likely only want to import complete Music Cog which is compatible to cocoa-discord

See Example at tests/bot.js

Apart from that, if you can understand the code src/voice.ts, you can directly interact with api underneath, all of them is public.

Minimal Usage

  • Clone this repository, build the package and run tests/bot.js

  • Adjust and add some codes to personalize the bot

Advanced Usage

Prerequisites

  • node 18 (16 gone eol :skull:)

  • IMPORTANT Encoding Libraries (This library does not ship these encoding libraries, so you can freely decide which one to install)

✨Features

  • play from YouTube

  • queue

  • pause / resume

  • Loop

  • Remove from Queue and Clear

  • Search with beautiful embeds

🖼️ Highlight

  • ✨ Search Feature

Note: Picture from previous release, lazy to update

Note

  • This module has its cog named "Music", be sure to not creating a duplicate name

  • Some edge cases like user invoke command without being in voice channel might not be handled yet

Keywords

FAQs

Package last updated on 04 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc