fg-canvas
v2.0.5
Published
canvas
Downloads
14
Maintainers
Readme
Installation
$ npm install fg-canvas
const fgdy = require("fg-canvas");
const fgdy = require("fg-canvas");
const fs = require('fs');
const image = await new fgdy.Welcome()
.setUsername("UNDEFINED")
.setGuildName("WIBU NOLEP")
.setGuildIcon("https://i.ibb.co/G5mJZxs/rin.jpg")
.setMemberCount("120")
.setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg")
.setBackground("https://i.ibb.co/4YBNyvP/images-76.jpg")
.toAttachment();
data = image.toBuffer();
await fs.writeFileSync(__path +'/tmp/swelkom.png', data)