Trash


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
async function getTrash(avatar) {
const img = new DIG.Trash().getImage(avatar)

const attach = new AttachmentBuilder(img).setName("trash.png")
return attach
}

getTrash("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png")

Results


Last updated