Discord Messages deleted By Who Messages

This commit is contained in:
Honey committed 2026-03-05 20:19:22 +01:00
1 parent cf8b470a20
commit d793ee1d60
1 file changed
-6
-6
View File
@@ -186,7 +186,6 @@ function notifyAdmin(ticket, event = 'created') {
color: COLORS.green,
description: `**Ticket #${ticket.id}**: ${ticket.title}`,
fields: [
{ name: '👤 Requester', value: ticket.requester || 'Unknown' },
{ name: '📊 Status', value: ticket.status || 'Open', inline: true },
{ name: '⚡ Priority', value: ticket.priority || 'None', inline: true },
{ name: '📂 Category', value: ticket.category || 'None', inline: true },
@@ -201,7 +200,6 @@ function notifyAdmin(ticket, event = 'created') {
color: COLORS.blue,
description: `**Ticket #${ticket.id}**: ${ticket.title}`,
fields: [
{ name: '👤 Author', value: ticket.commentAuthor || 'Unknown', inline: true },
{ name: '📊 Status', value: ticket.status || '-', inline: true },
{ name: '💬 Comment', value: ticket.commentContent?.length > 200 ? ticket.commentContent.substring(0, 200) + '...' : (ticket.commentContent || '-') },
],
@@ -227,7 +225,6 @@ function notifyUser(type, data = {}) {
fields: [
{ name: 'Previous', value: data.oldStatus || '-', inline: true },
{ name: 'New', value: data.newStatus || '-', inline: true },
{ name: '👤 Changed by', value: data.actor || 'Admin', inline: true },
],
},
priorityChanged: {
@@ -237,7 +234,6 @@ function notifyUser(type, data = {}) {
fields: [
{ name: 'Previous', value: data.oldPriority || '-', inline: true },
{ name: 'New', value: data.newPriority || '-', inline: true },
{ name: '👤 Changed by', value: data.actor || 'Admin', inline: true },
],
},
comment: {
@@ -245,7 +241,6 @@ function notifyUser(type, data = {}) {
color: COLORS.purple,
description: `**Ticket #${data.ticketId}**: ${data.title || ''}`,
fields: [
{ name: '👤 Author', value: data.author || 'Admin', inline: true },
{ name: '💬 Comment', value: data.content?.length > 200 ? data.content.substring(0, 200) + '...' : (data.content || '-') },
],
},
@@ -255,7 +250,6 @@ function notifyUser(type, data = {}) {
description: `**Ticket #${data.ticketId}**: ${data.title || ''}`,
fields: [
{ name: '⏱ Duration', value: `${data.minutes || 0} min`, inline: true },
{ name: '👤 By', value: data.author || 'Admin', inline: true },
...(data.comment ? [{ name: '📝 Note', value: data.comment }] : []),
],
},