JSPM

  • Created
  • Published
  • Downloads 125
  • Score
    100M100P100Q77271F
  • License Apache License

Discord Welcome/Goodbye Card

Package Exports

  • discord-welcome-card

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (discord-welcome-card) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

WelcomeCard

Discord Welcome Card

const Discord = require("discord.js");
const {welcomeImage,goodbyeImage} = require('welcome-card')

const client = new Discord.Client();
client.on("message", async message => {
    message.channel.send('', new Discord.MessageAttachment(welcomeImage(message.member), 'welcome.png'))
})