feat: inactivity warnings and automatic closure (closes #299 and #305)

This commit is contained in:
Isaac
2023-05-27 01:56:29 +01:00
parent 621c49c4e6
commit 3a47a7df3f
2 changed files with 112 additions and 14 deletions

View File

@@ -399,6 +399,11 @@ ticket:
title: ❓ {requestedBy} wants to close this ticket
wait_for_staff: ✋ Please wait for staff to close this ticket.
wait_for_user: ✋ Please wait for the user to respond.
closing_soon:
description: |
This ticket will be closed due to inactivity <t:{timestamp}:R>.
Send a message to cancel this automation.
title: ⌛ This ticket will be closed soon
created:
description: "Your ticket channel has been created: {channel}."
title: ✅ Ticket created
@@ -406,6 +411,11 @@ ticket:
description: Your changes have been saved.
title: ✅ Ticket updated
feedback: Thank you for your feedback.
inactive:
description: |
There hasn't been any activity in this channel since <t:{timestamp}:R>.
Please continue the conversation or {close} the ticket.
title: ⏰ This ticket is inactive
offline:
description:
There aren't any staff members available at the moment, so it may