Merge pull request #62 from RhysB/master

Add Ticket ID to ticket close message
This commit is contained in:
Isaac 2020-10-21 12:20:33 +01:00 committed by GitHub
commit 7797f54a97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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()
); );