bot-welcomer

1.0.0 • Public • Published

Installation

$ npm install bot-welcomer

Example GoodBye

const ling = require("bot-welcomer"),
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)
 

Package Sidebar

Install

npm i bot-welcomer

Weekly Downloads

4

Version

1.0.0

License

ISC

Unpacked Size

2.32 MB

Total Files

28

Last publish

Collaborators

  • safwanganz