fix: new line replacement

This commit is contained in:
Isaac
2023-01-03 16:59:26 +00:00
parent 4dbbba6c0b
commit cf6b34785c
2 changed files with 2 additions and 2 deletions

View File

@@ -70,7 +70,7 @@ module.exports = class TranscriptSlashCommand extends SlashCommand {
if (ticket.closedReason) ticket.closedReason = decrypt(ticket.closedReason);
if (ticket.feedback?.comment) ticket.feedback.comment = decrypt(ticket.feedback.comment);
if (ticket.topic) ticket.topic = decrypt(ticket.topic);
if (ticket.topic) ticket.topic = decrypt(ticket.topic).replace(/\n/g, '\n\t');
ticket.archivedUsers.forEach((user, i) => {
if (user.displayName) user.displayName = decrypt(user.displayName);