mirror of
https://github.com/Hessenuk/DiscordTickets.git
synced 2025-09-04 09:21:25 +03:00
Added close command, bug fixes and improvements
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"bot": {
|
||||
"missing_permissions": {
|
||||
"title": "⚠️",
|
||||
"description": "Discord Tickets requires the following permissions:\n%s"
|
||||
"description": "Discord Tickets requires the following permissions:\n%s",
|
||||
"title": "⚠️"
|
||||
},
|
||||
"version": "[Discord Tickets](%s) v%s by [eartharoid](%s)"
|
||||
},
|
||||
@@ -66,40 +66,85 @@
|
||||
},
|
||||
"close": {
|
||||
"aliases": {
|
||||
"delete": "delete"
|
||||
"delete": "delete",
|
||||
"lock": "lock"
|
||||
},
|
||||
"args": {
|
||||
"reason": {
|
||||
"alias": "r",
|
||||
"description": "The reason for closing the ticket(s)",
|
||||
"example": "",
|
||||
"name": "reason"
|
||||
},
|
||||
"ticket": {
|
||||
"description": "The number or a channel mention of the ticket to close",
|
||||
"alias": "t",
|
||||
"description": "The ticket to close, either the number or the channel mention/ID",
|
||||
"example": "217",
|
||||
"name": "ticket"
|
||||
},
|
||||
"time": {
|
||||
"alias": "T",
|
||||
"description": "Close all tickets that have been inactive for the specified time",
|
||||
"example": "1w",
|
||||
"name": "time"
|
||||
}
|
||||
},
|
||||
"description": "Close a ticket channel",
|
||||
"name": "close",
|
||||
"response": {
|
||||
"closed": {
|
||||
"description": "This ticket has been closed.\nThe channel will be deleted in 5 seconds.",
|
||||
"description": "Ticket #%s has been closed.",
|
||||
"title": "✅ Ticket closed"
|
||||
},
|
||||
"closed_by_member": {
|
||||
"description": "This ticket has been closed by %s.\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
"closed_multiple": {
|
||||
"description": [
|
||||
"%d ticket has been closed.",
|
||||
"%d tickets have been closed."
|
||||
],
|
||||
"title": [
|
||||
"✅ Ticket closed",
|
||||
"✅ Tickets closed"
|
||||
]
|
||||
},
|
||||
"closed_by_member_with_reason": {
|
||||
"description": "This ticket has been closed by %s: `%s`\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
"confirm": {
|
||||
"description": "React with ✅ to close this ticket.",
|
||||
"description_with_archive": "You will be able to view an archived version of it after.\nReact with ✅ to close this ticket.",
|
||||
"title": "❔ Are you sure?"
|
||||
},
|
||||
"closed_with_reason": {
|
||||
"description": "This ticket has been closed: `%s`\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
"confirmation_timeout": {
|
||||
"description": "You took too long to confirm.",
|
||||
"title": "❌ Reaction time expired"
|
||||
},
|
||||
"confirm_multiple": {
|
||||
"description": [
|
||||
"React with ✅ to close %d ticket.",
|
||||
"React with ✅ to close %d tickets."
|
||||
],
|
||||
"title": "❔ Are you sure?"
|
||||
},
|
||||
"invalid_time": {
|
||||
"description": "The time period provided could not be parsed.",
|
||||
"title": "❌ Invalid input"
|
||||
},
|
||||
"not_a_ticket": {
|
||||
"description": "Please use this command in a ticket channel or use the ticket flag.\nType `%shelp close` for more information.",
|
||||
"title": "❌ This isn't a ticket channel"
|
||||
},
|
||||
"no_tickets": {
|
||||
"description": "There are no tickets which have been inactive for this time period.",
|
||||
"title": "❌ No tickets to close"
|
||||
},
|
||||
"unresolvable": {
|
||||
"description": "`%s` could not be resolved to a ticket. Please provide the ticket ID/mention or number.",
|
||||
"title": "❌ Error"
|
||||
}
|
||||
}
|
||||
},
|
||||
"new": {
|
||||
"aliases": {
|
||||
"create": "create",
|
||||
"open": "open"
|
||||
"open": "open",
|
||||
"ticket": "ticket"
|
||||
},
|
||||
"args": {
|
||||
"topic": {
|
||||
@@ -117,10 +162,6 @@
|
||||
},
|
||||
"questions": "Please answer the following questions:\n\n%s",
|
||||
"response": {
|
||||
"claimed": {
|
||||
"description": "%s has claimed this ticket.",
|
||||
"title":"✅ Ticket claimed"
|
||||
},
|
||||
"created": {
|
||||
"description": "Your ticket has been created: %s.",
|
||||
"title": "✅ Ticket created"
|
||||
@@ -140,10 +181,6 @@
|
||||
"description": "A server administrator must create at least one ticket category before a new ticket can be opened.",
|
||||
"title": "❌ Can't create ticket"
|
||||
},
|
||||
"released": {
|
||||
"description": "%s has released this ticket.",
|
||||
"title":"✅ Ticket released"
|
||||
},
|
||||
"select_category": {
|
||||
"description": "Select the category most relevant to your ticket's topic:\n\n%s",
|
||||
"title": "🔤 Please select the ticket category"
|
||||
@@ -222,5 +259,31 @@
|
||||
"staff_only": {
|
||||
"description": "You must be a member of staff to use this command.",
|
||||
"title": "❌"
|
||||
},
|
||||
"ticket": {
|
||||
"claimed": {
|
||||
"description": "%s has claimed this ticket.",
|
||||
"title": "✅ Ticket claimed"
|
||||
},
|
||||
"closed": {
|
||||
"description": "This ticket has been closed.\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
},
|
||||
"closed_by_member": {
|
||||
"description": "This ticket has been closed by %s.\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
},
|
||||
"closed_by_member_with_reason": {
|
||||
"description": "This ticket has been closed by %s: `%s`\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
},
|
||||
"closed_with_reason": {
|
||||
"description": "This ticket has been closed: `%s`\nThe channel will be deleted in 5 seconds.",
|
||||
"title": "✅ Ticket closed"
|
||||
},
|
||||
"released": {
|
||||
"description": "%s has released this ticket.",
|
||||
"title": "✅ Ticket released"
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user