Bed
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 getBed(avatar, avatar2) {
const img = new DIG.Bed().getImage(avatar, avatar2)
const attach = new AttachmentBuilder(img).setName("bed.png")
return attach
}
getBed("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", "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
async function getBed(avater, avatar2) {
const img = new DIG.Bed().getImage(avatar, avatar2)
const attach = new AttachmentBuilder(img).setName("bed.png")
return attach
}
getBed("https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png", "https://panel.yeetdesigns.cc/CompanyLogos/Old_Logo.png")Results

Last updated