"remove" command

This commit is contained in:
Isaac
2021-05-16 19:48:02 +01:00
parent d2034c5a14
commit 82473db65c
4 changed files with 86 additions and 2 deletions

View File

@@ -303,7 +303,24 @@
},
"description": "Remove a member from a ticket",
"name": "remove",
"response": {}
"response": {
"removed": {
"description": "%s has been removed from %s.",
"title": "✅ Member removed"
},
"no_member": {
"description": "Please mention the member you want to remove.",
"title": "❌ Unknown member"
},
"no_permission": {
"description": "You are not the creator of this ticket and you are not a staff member; you can't remove members from this ticket.",
"title": "❌ Insufficient permission"
},
"not_a_ticket": {
"description": "Please use this command in the ticket channel, or mention the channel.",
"title": "❌ This isn't a ticket channel"
}
}
},
"settings": {
"aliases": {
@@ -374,6 +391,10 @@
"description": "%s has been added by %s",
"title": "Member added"
},
"member_removed": {
"description": "%s has been removed by %s",
"title": "Member removed"
},
"released": {
"description": "%s has released this ticket.",
"title": "✅ Ticket released"