Mirror
Usage
const DIG = require("dig.yd.js")
const {AttachmentBuilder} = require("discord.js")
// Avatar must come from the Member's/User's Profile Picture and formated to get the <.png> version of the Profile Picture
// level is the level of mirror you want the image to have
async function getMirror(avatar, level) {
const img = new DIG.Mirror().getImage(avatar, level)
const attach = new AttachmentBuilder(img).setName("mirror.png")
return attach
}
getMirror("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", 20)import DIG from "dig.yd.js"
import {AttachmentBuilder} from "discord.js"
// Avatar must come from the Member's/User's Profile Picture and formated to get the <.png> version of the Profile Picture
// level is the level of mirror you want the image to have
async function getMirror(avatar, level) {
const img = new DIG.Mirror().getImage(avatar, level)
const attach = new AttachmentBuilder(img).setName("mirror.png")
return attach
}
getMirror("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", 20)Results

Last updated