Denoise
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 the level of denoise you want on the image
async function getDenoise(avatar, level) {
const img = new DIG.Denoise().getImage(avatar, level)
const attach = new AttachmentBuilder(img).setName("denoise.png")
return attach
}
getDenoise("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", 15)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
async function getDenoise(avatar, level) {
const img = new DIG.Denoise().getImage(avatar, level)
const attach = new AttachmentBuilder(img).setName("denoise.png")
return attach
}
getDenoise("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", 15)Results

Last updated