Skip to content

Commit

Permalink
🔄 Change channelId to Ticket Id
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashu11-A committed Jun 15, 2024
1 parent fbaf176 commit 0ef95bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tickets/src/class/Ticket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class Ticket {
{ name: '📃 Descrição:', value: codeBlock(ticket?.description ?? 'Desconhecido'), inline: true },
{ name: '\u200E', value: '\u200E', inline: true },

{ name: '🔎 Ticket ID:', value: codeBlock(ticket.channelId), inline: true },
{ name: '🔎 Ticket ID:', value: codeBlock(String(ticket.id)), inline: true },
{ name: '🤝 Convidados:', value: codeBlock(ticket.users.length === 0 ? 'Não houve convidados!' : ticket.users?.map((user) => `\n\nUser: ${user.displayName} \nId: ${user.id}`)?.join(', ')), inline: true },
{ name: '\u200E', value: '\u200E', inline: true }
]
Expand Down

0 comments on commit 0ef95bb

Please sign in to comment.