GithubHelp home page GithubHelp logo

clayzaaubert-canvix's Introduction

Installation

$ npm install @clayzaaubert/canvix

const knights = require("@clayzaaubert/canvix");

404

NPM

how to use

Welcome
const knights = require("@clayzaaubert/canvix");
const fs = require('fs');

const image = await new knights.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)
 

result

Welcome2
const knights = require("@clayzaaubert/canvix");
const fs = require('fs');

var image = await new knights.Welcome2()
    .setAvatar("you url pic")
    .setUsername("your name") 
    .setBg("background") 
    .setGroupname("guild name/groupname") 
    .setMember("member count") 
    .toAttachment();
    
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/sewelkom2.png', data)
  

Rank
const knights = require("@clayzaaubert/canvix");
const fs = require('fs');

const image = await new knights.Rank()
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg") 
    .setUsername("Lingz") 
    .setBg("https://i.ibb.co/4YBNyvP/images-76.jpg")
    .setNeedxp("1000") 
    .setCurrxp("100") 
    .setLevel("6") 
    .setRank("https://i.ibb.co/Wn9cvnv/FABLED.png") 
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/srank.png', data)
 

result

Level Up
const knights = require("@clayzaaubert/canvix");
const fs = require('fs');

const image = await new knights.Up()
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg") 
    .toAttachment();
  
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/slevelup.png', data)
 

result

update

Maker

Horny

const knights = require("@clayzaaubert/canvix");
const fs = require('fs');
const image = await new knights.Horny()
    .setAvatar("https://i.ibb.co/1s8T3sY/48f7ce63c7aa.jpg")
    .toBuild();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/horny', data)

result

Jojo

const knights = require("@clayzaaubert/canvix");
const fs = require('fs');
const image = await new knights.Jo()
    .setImage("https://i.ibb.co/xG8L4mz/images.jpg")
    .toBuild();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/jojo.png', data)

result

Patrick

const knights = require("@clayzaaubert/canvix");
const fs = require('fs');
const image = await new knights.Patrick()
    .setAvatar("https://i.ibb.co/xG8L4mz/images.jpg")
    .toAttachment();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/pat.png', data)

result

Bonk

const knights = require("@clayzaaubert/canvix");
const fs = require('fs');
const image = await new knights.Bonk()
    .setAvatar1("https://i.ibb.co/G5mJZxs/rin.jpg")
    .setAvatar2("https://i.ibb.co/BZgRzh0/IMG-20210621-WA0000.jpg")
    .toBuild();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/bonk.png', data)

result

Spongebob Burn

const knights = require("@clayzaaubert/canvix");
const fs = require('fs');
const image = await new knights.Burn()
    .setAvatar("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQwXmOgfrrGKdaGbnisffjJaUM2eU2izUBf3w&usqp=CAU")
    .toAttachment();
  data = image.toBuffer();
  await fs.writeFileSync(__path +'/tmp/burn.png', data)

result

Credits

thanks my team for the help
Canvix

(^ω^)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.