Enhance ticket management with control panel and support role integration
- Introduced a control panel for ticket interactions, allowing users to claim, close, and manage ticket participants via buttons and user select menus. - Implemented support role member caching to efficiently add staff to private ticket threads, adhering to Discord's rate limits. - Updated ticket opening messages to mention support roles, ensuring staff are notified when a ticket is created. - Enhanced localization for new ticket control features in both English and German. - Documented changes in phase tracking to reflect the new ticket support functionalities.
This commit is contained in:
@@ -425,6 +425,13 @@ const de: Dictionary = {
|
||||
'ticket.opened': '{user} hat ein Ticket geöffnet.',
|
||||
'ticket.subjectLine': 'Betreff: {subject}',
|
||||
'ticket.claimed': '{user} hat dieses Ticket übernommen.',
|
||||
'ticket.control.title': 'Ticket-Steuerung',
|
||||
'ticket.control.description':
|
||||
'Übernehmen oder schließen, bzw. weitere Nutzer über die Auswahlmenüs hinzufügen oder entfernen. Slash-Commands: `/ticket rename`, `/ticket priority`.',
|
||||
'ticket.control.claim': 'Übernehmen',
|
||||
'ticket.control.close': 'Schließen',
|
||||
'ticket.control.addPlaceholder': 'Nutzer zum Ticket hinzufügen…',
|
||||
'ticket.control.removePlaceholder': 'Nutzer aus dem Ticket entfernen…',
|
||||
'ticket.userAdded': '{user} wurde zum Ticket hinzugefügt.',
|
||||
'ticket.userRemoved': '{user} wurde aus dem Ticket entfernt.',
|
||||
'ticket.renamed': 'Ticket umbenannt in **{name}**.',
|
||||
@@ -1025,6 +1032,13 @@ const en: Dictionary = {
|
||||
'ticket.opened': '{user} opened a ticket.',
|
||||
'ticket.subjectLine': 'Subject: {subject}',
|
||||
'ticket.claimed': '{user} claimed this ticket.',
|
||||
'ticket.control.title': 'Ticket controls',
|
||||
'ticket.control.description':
|
||||
'Claim or close this ticket, or add/remove users with the menus below. Slash commands: `/ticket rename`, `/ticket priority`.',
|
||||
'ticket.control.claim': 'Claim',
|
||||
'ticket.control.close': 'Close',
|
||||
'ticket.control.addPlaceholder': 'Add a user to this ticket…',
|
||||
'ticket.control.removePlaceholder': 'Remove a user from this ticket…',
|
||||
'ticket.userAdded': '{user} was added to the ticket.',
|
||||
'ticket.userRemoved': '{user} was removed from the ticket.',
|
||||
'ticket.renamed': 'Ticket renamed to **{name}**.',
|
||||
|
||||
Reference in New Issue
Block a user