mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2024-12-22 07:43:08 +02:00
added ticket channel id for closed tickets (#496)
* added ticket channel id for closed tickets * Update tickets.js * Fix \` + "\`" + \` --------- Co-authored-by: Isaac <git@eartharoid.me>
This commit is contained in:
parent
6b8cd9eb29
commit
e6a527633a
@ -105,7 +105,7 @@ module.exports = class TicketsSlashCommand extends SlashCommand {
|
||||
name: getMessage('commands.slash.tickets.response.fields.closed.name'),
|
||||
value: closed.map(ticket => {
|
||||
const topic = ticket.topic ? `- \`${decrypt(ticket.topic).replace(/\n/g, ' ').slice(0, 30)}\`` : '';
|
||||
return `> ${ticket.category.name} #${ticket.number} ${topic}`;
|
||||
return `> ${ticket.category.name} #${ticket.number} (\`${ticket.id}\`) ${topic}`;
|
||||
}).join('\n'),
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user