Greet every new member in a channel with an embed: their avatar as a thumbnail, a line of welcome using their mention, the server's name and icon in the footer, and which member number they are
Welcomes new members with a personalized embed.
When someone joins the server, this creation posts a welcome message in your configured channel showing:
Setup: Choose a welcome channel in the Settings tab.
Made by MEE6. Remix it to get a copy of your own and change anything you like.
Welcome @Sam! You are member number 4.
Welcome @Riley! You are member number 5.
// Member welcome system with configurable channel
mee6.settings({
welcome_channel: {
type: 'channel',
label: 'Welcome channel',
required: true,
sample: 'welcome',
},
});
mee6.on('member_join', async (ctx) => {
const channelId = ctx.settings.welcome_channel;
if (!channelId) {
mee6.log('Welcome channel not configured');
return;
}
const guild = await mee6.guild();
await ctx.send(channelId, {
embed: {
description: `Welcome ${ctx.author.mention}! You are member number **${guild.memberCount}**.`,
thumbnailUrl: ctx.author.avatarUrl,
color: '#5865F2',
footer: guild.iconUrl ? { text: guild.name, icon_url: guild.iconUrl } : { text: guild.name },
},
});
});