mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: updated welcome message
This commit is contained in:
1 parent
6dc7a10c2e
commit
97cc9509c0
1 file changed
+8
-2
@@ -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`);
|
||||||
|
|||||||
Reference in new issue
Block a user