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

moocard

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

moocard

``` npm install moocard ```

latest
npmnpm
Version
1.1.6
Version published
Maintainers
1
Created
Source

Moocard is a futuristic music card library designed for Discord bots.

install

npm install moocard

example


    const card = new moocard()
      .setName(String(song?.title).toUpperCase())
      .setAuthor(String(song?.author).toUpperCase())
      .setColor(client.color.toString())
      .setThumbnail(
        track.thumbnail
          ? track.thumbnail
          : `https://img.youtube.com/vi/${track.identifier}/hqdefault.jpg`
      )
      .setRequester((song?.requester as User).username.toUpperCase());

    const cardBuffer = await card.build();

    const attachment = new AttachmentBuilder(cardBuffer, {
      name: "moo.png",
    });

classic

FAQs

Package last updated on 12 Jan 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