feat: updated welcome message

This commit is contained in:
TrèsAbhi committed 2023-10-10 21:33:11 -05:00
1 parent 6dc7a10c2e
commit 97cc9509c0
1 file changed
+8 -2
+8 -2
View File
@@ -1,4 +1,9 @@
import { EmbedBuilder, GuildMember, TextChannel } from 'discord.js'; import {
AttachmentBuilder,
EmbedBuilder,
GuildMember,
TextChannel,
} from 'discord.js';
import discord from '../../discord.json' assert { type: 'json' }; import discord from '../../discord.json' assert { type: 'json' };
import { ACCENT_COLOR } from '../constants/colors'; import { ACCENT_COLOR } from '../constants/colors';
@@ -15,9 +20,10 @@ export default async function (member: GuildMember) {
.setColor(ACCENT_COLOR) .setColor(ACCENT_COLOR)
.setTitle(`Welcome ${member.user.username}`) .setTitle(`Welcome ${member.user.username}`)
.setDescription( .setDescription(
`Welcome to the Skilled server, **${member.user.username}**! To continue, please use the \`/verify\` command.\n\nExample: \`/verify Sabina244\``, `Welcome to the Skilled server, **${member.user.username}**! To continue, please use the \`/link\` command.`,
), ),
], ],
files: [new AttachmentBuilder('https://i.imgur.com/2p6GFgC.gif')],
}); });
console.log(`${member.user.tag} joined`); console.log(`${member.user.tag} joined`);