mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-09 11:21:26 +03:00
fix: new line replacement
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user