discord-canvascord
v0.0.1
Published
Easy way to setup join & leave system
Downloads
17
Maintainers
Readme
📦 Discord-canvascord
- Best package for join and leave system.
- Light package with advance features.
📂 Example for discord.js
//Top of your file
const Canvas = require("discord-canvascord");
const Discord = require("discord.js");
const image = await new Canvas.Welcome()
.setUsername("user_name")
.setDiscriminator("Description")
.setMemberCount("120")
.setGuildName("your_server_name")
.setAvatar("user_avatar")
.setColor("border", "#0000")
.setColor("username-box", "#0000")
.setColor("discriminator-box", "#0000")
.setColor("message-box", "#0000")
.setColor("title", "#0000")
.setColor("avatar", "#0000")
.setBackground("background_image")
.toAttachment();
const attachment = new Discord.MessageAttachment(image.toBuffer(), "welcome.png");
<channel>.send({files: [attachment]});
Made by ron with 💖