1.0.4 • Published 4 years ago

beautiful-canvas v1.0.4

Weekly downloads
1
License
ISC
Repository
-
Last release
4 years ago

Beatiful-Canvas

First of all 1.0 versions are test versions !

How to use Beatiful-Canvas ?

First install the module

npm i beautiful-canvas

Some examples here:

const bcanvas = require('beautiful-canvas');

const canvas = bcanvas.createImage_modern(user, avatar, guild);

message.channel.send(canvas.toBuffer()); // .toBuffer() for png image - message.channel.send is from discord.js

"Modern" can be replaced with others, a list will be created with all.

This is used with Discord.js. Replace user by the username, avatar by the avatarurl of the user, guild by the guild name.

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago