Welcome Discord Users Awesomely!
Kunal Kande Patil
Posted on March 18, 2024
Greetify is a Futuristic welcome card canvas library.
Installation
npm install greetify
Usage
I'm using discord.js library to integrate greetify in bot.
// Assuming you defined client
const { Minimal } = require("greetify");
client.on("guildMemberAdd", async member => {
const message = `YOU ARE ${member.guild.memberCount}TH MEMBER`
const card = await Minimal({
name: member.user.username,
avatar: member.user.displayAvatarURL({
size: 4096 // For High Res Avatar
}),
type: "WELCOME",
message: message
})
const channel = member.guild.channels.cache.get("1201155869610627212");
return channel.send({
files: [{
attachment: card
}]
})
})
Themes
Minimal
const { Minimal } = require("greetify");
const fs = require('fs')
Minimal({
avatar: "https://cdn.discordapp.com/avatars/786504767358238720/f65e8322c0c290e7fc1d9ad20322256b.webp",
name: "FLAMEFACE",
type: "WELCOME"
}).then(x => {
fs.writeFileSync("greetify.png", x)
})
Panorama
const { Panorama } = require("greetify");
const fs = require('fs')
Panorama({
avatar: "https://cdn.discordapp.com/avatars/786504767358238720/f65e8322c0c290e7fc1d9ad20322256b.webp",
name: "FLAMEFACE",
type: "WELCOME"
}).then(x => {
fs.writeFileSync("greetify.png", x)
})
For more info check out our Github
💖 💪 🙅 🚩
Kunal Kande Patil
Posted on March 18, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.