Add Ticket ID to ticket close message

This allows for staff to easily find ticket ids (at least recent ones).
This commit is contained in:
RhysB 2020-10-21 15:58:46 +10:00
parent d6386e64e4
commit 5bdeb1f486

View File

@ -190,6 +190,7 @@ module.exports = {
.setTitle('Ticket closed') .setTitle('Ticket closed')
.addField('Creator', `<@${ticket.creator}>`, true) .addField('Creator', `<@${ticket.creator}>`, true)
.addField('Closed by', message.author, true) .addField('Closed by', message.author, true)
.addField("Ticket ID", ticket.id, true)
.setFooter(guild.name, guild.iconURL()) .setFooter(guild.name, guild.iconURL())
.setTimestamp() .setTimestamp()
); );