Wanted
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
// currencySymbol must be a symbol like <$>
async function getWanted(avatar, currencySymbol) {
const img = new DIG.Wanted().getImage(avatar, currencySymbol)
const attach = new AttachmentBuilder(img).setName("wanted.png")
return attach
}
getWanted("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", "$")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
// currencySymbol must be a symbol like <$>
async function getWanted(avatar, currencySymbol) {
const img = new DIG.Wanted().getImage(avatar, currencySymbol)
const attach = new AttachmentBuilder(img).setName("wanted.png")
return attach
}
getWanted("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", "$")Results

Last updated