Skip to content

Commit

Permalink
feat: update guild member add embed
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilhermeasper committed Jan 24, 2024
1 parent 0d46076 commit f08e444
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/bot/events/guildMemberAdd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,12 @@ export const guildMemberAdd: BotEvent = {
channel.send({
embeds: [
new EmbedBuilder()
.setTitle(`Olá ${member.user.username}`)
.setThumbnail(member.user.avatarURL())
.setColor('#0099ff')
.addFields({
name: `Boas vindas ao ${member.guild?.name}`,
value:
'Leia as regras para não tomar KICK/BAN e mantenha um bom relacionamento com o pessoal :sunglasses:',
})
.setDescription(
`**Boas vindas ao ${member.guild?.name},** <@${member.user.id}>\n
Leia as regras para não tomar KICK/BAN e mantenha um bom relacionamento com o pessoal :sunglasses:\n`
)
.setTimestamp()
.setFooter({ text: 'Data de entrada' }),
],
Expand Down

0 comments on commit f08e444

Please sign in to comment.