Musicard is a futuristic music card library designed for Discord bots.
npm install mewcard
This example code will generate a music card image and save it.
(async () => {
const { mewcard } = require("mewcard");
const fs = require("fs");
const card = new mewcard()
.setName("Biru Baru")
.setAuthor("Sejenak")
.setColor("auto")
.setTheme("classic")
.setBrightness(50)
.setThumbnail("https://cdn.is-a.fun/mewwme/mewwme.png")
.setProgress(10)
.setStartTime("0:00")
.setEndTime("04:27")
const cardBuffer = await card.build();
fs.writeFileSync(`mewcard.png`, cardBuffer);
console.log("Done!");
})()
https://github.com/a3pire