Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 843 Bytes

README.md

File metadata and controls

33 lines (25 loc) · 843 Bytes

Installation

$ npm install knights-canvas

Example GoodBye

const ling = require("knights-canvas"),
const  fs = require('fs');

const image = await new ling.Goodbye()
    .setUsername("LING MO")
    .setGuildName("Frontline")
    .setGuildIcon("https://pandal.page/imgs/imgs/608d550e2075c.jpg")
    .setMemberCount("404")
    .setAvatar("https://pandal.page/imgs/imgs/60960b4ce3129.jpg")
    .setBackground("https://pandal.page/imgs/imgs/60a3cf9d08a5c.jpg")
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/swelkom.png', data)
 

IMAGE

Credits

Made by LINZ with ❤️
Thanks to LEN for his help !

knights-canvas