πββ¬ Canvafy Design;
await new canvafy.Profile()
π Example Of Code With Discord.js v14
client.on("messageCreate", async message => {
if (message.content === "!profile") {
const profile = await new canvafy.Profile()
.setUser("928259219038302258")
.setBorder("#f0f0f0")
.setActivity({activity:{
name: 'Visual Studio Code',
type: 0,
url: null,
details: 'π In canvafy β 0 problems found',
state: 'Working on package.json:45:5',
applicationId: '810516608442695700',
party: null,
assets:{
largeText: 'π Editing a NPM',
smallText: 'β Visual Studio Code',
largeImage: 'mp:external/CPFiq3MlvnvOKJSW6pUeZ7gfOdfcrLPtGK9dT3LrsCo/https/raw.githubusercontent.com/LeonardSSH/vscord/main/assets/icons/npm.png',
smallImage: 'mp:external/Joitre7BBxO-F2IaS7R300AaAcixAvPu3WD1YchRgdc/https/raw.githubusercontent.com/LeonardSSH/vscord/main/assets/icons/vscode.png'
}},
largeImage:"https://raw.githubusercontent.com/LeonardSSH/vscord/main/assets/icons/js.png"
})
.build();
message.reply({
files: [{
attachment: profile,
name: `profile-${message.member.id}.png`
}]
});
}
});