Skip to content

Commit

Permalink
🌈 Set color in initial embed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A committed Jun 16, 2024
1 parent 222c424 commit 94683e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tickets/src/class/TicketBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export class TicketBuilder {
const embed = new EmbedBuilder({
title: `👋 Olá ${this.user.displayName}, boas vindas ao seu ticket.`,
footer: { text: `Equipe ${guild?.name} | ${new Date().toLocaleString('pt-BR', { timeZone: 'America/Sao_Paulo' })}`, iconURL: (guild?.iconURL({ size: 64 }) ?? undefined) }
})
}).setColor('Blue')

if (typeof title === 'string') embed.addFields({ name: '📃 Motivo:', value: codeBlock(title) })
if (typeof description === 'string') embed.addFields({ name: '📭 Descrição:', value: codeBlock(description) })
Expand Down

0 comments on commit 94683e3

Please sign in to comment.