Musicard is a futuristic music card library designed for Discord bots.
npm install git+https://github.com/reedroux/rdxmusicard
This example code will generate a music card image and save it.
(async () => {
const { rdxmusicard } = require("rdxmusicard ");
const fs = require("fs");
const card = new mikocard()
.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(`rdxmusicard `, cardBuffer);
console.log("Done!");
})()
This is the classic output of musicard.
https://github.com/a3pire
Sr. | Name | Platform |
---|---|---|
1 | Reedroux LLC | TS/JS |