@pairlypacks/join-greetings
v1.0.0
Published
Pairly Packs Discord.js join greeting messages with buttons and license validation.
Maintainers
Readme
@pairlypacks/join-greetings
Sends a greeting message when a user joins your Discord server.
Install
npm install @pairlypacks/join-greetingsUsage
const { initJoinGreetings } = require('@pairlypacks/join-greetings');
await initJoinGreetings(client, {
licenseKey: process.env.PAIRLY_JOIN_GREETINGS_LICENSE_KEY,
welcomeChannelId: process.env.WELCOME_CHANNEL_ID,
exploreChannelId: process.env.EXPLORE_CHANNEL_ID,
emoji: process.env.JOIN_GREETINGS_EMOJI,
});Required Intents
Your Discord client needs:
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMembersEnable Server Members Intent in the Discord Developer Portal.
Message
emoji Greetings @mentionuser, glad to have you in servername! Don’t forget to take a look at our <#channelIDyouput> - hope you have a great time!Buttons:
- Link button:
Explore The Server - Disabled member count button
License Core Product
/product create code:JOIN_GREETINGS name:Pairly Join Greetings npm_package:@pairlypacks/join-greetings
/license create product:JOIN_GREETINGS buyer:@Customer