Skip to content

play-unity/playunity-welcome-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PlayUnity Welcome Images

Example

const { PlayUnityImage, GTAImage, RedDeadImage } = require('playunity-welcome-images');

client.on('guildMemberAdd', async (member) => {

    const image = new PlayUnityImage(member, member.guild.memberCount);
    const buffer = await image.buffer();
    
    client.channels.cache.get('ID').send(buffer);

});

About

Generate great images for the PlayUnity Discord servers

Resources

Stars

Watchers

Forks

Packages

No packages published