From 282aa3033a59607596dcc2d9bf159469e6a137df Mon Sep 17 00:00:00 2001 From: Zve Date: Mon, 1 Apr 2019 00:31:03 +0300 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=B5=D0=B9=D1=81=D1=82=D0=B2=D0=B8?= =?UTF-8?q?=D1=8F=20=D1=82=D0=B8=D0=BF=D0=B0=20=D0=BE=D1=82=D0=BA=D1=80?= =?UTF-8?q?=D1=8B=D1=82=D1=8C,=20=D0=B7=D0=B0=D0=BA=D1=80=D1=8B=D1=82?= =?UTF-8?q?=D1=8C=20=D0=B8=20=D1=82.=D0=B4.=20=D0=B2=20=D0=BE=D1=82=D0=BD?= =?UTF-8?q?=D0=BE=D1=88=D0=B5=D0=BD=D0=B8=D0=B8=20=D1=82=D0=B8=D0=BA=D0=B5?= =?UTF-8?q?=D1=82=D0=BE=D0=B2=20=D1=81=D0=BE=20=D1=81=D1=82=D0=BE=D1=80?= =?UTF-8?q?=D0=BE=D0=BD=D1=8B=20=D0=B0=D0=B4=D0=BC=D0=B8=D0=BD=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=B0=D1=86=D0=B8=D0=B8=20=D1=82=D0=B0=D0=BA=D0=B6?= =?UTF-8?q?=D0=B5=20=D0=BE=D1=82=D0=BF=D1=80=D0=B0=D0=B2=D0=BB=D1=8F=D1=8E?= =?UTF-8?q?=D1=82=D1=81=D1=8F=20=D0=B2=20"=D0=B4=D0=B8=D1=81=D0=BA=D0=BE?= =?UTF-8?q?=D1=80=D0=B4"=20=D1=87=D0=B0=D1=82.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- code/modules/admin/verbs/adminhelp.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/modules/admin/verbs/adminhelp.dm b/code/modules/admin/verbs/adminhelp.dm index 1afcf5d4e52a..8827b198e86b 100644 --- a/code/modules/admin/verbs/adminhelp.dm +++ b/code/modules/admin/verbs/adminhelp.dm @@ -281,6 +281,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets var/msg = "Ticket [TicketHref("#[id]")] reopened by [key_name_admin(usr)]." message_admins(msg) log_admin_private(msg) + send2slack_logs("Ticket #[id]", "Reopened by [key_name(usr)].", "(AHELP)") TicketPanel() //can only be done from here, so refresh it //private @@ -305,6 +306,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets var/msg = "Ticket [TicketHref("#[id]")] closed by [key_name]." message_admins(msg) log_admin_private(msg) + send2slack_logs("Ticket #[id]", "Closed by [key_name].", "(AHELP)") //Mark open ticket as resolved/legitimate, returns ahelp verb /datum/admin_help/proc/Resolve(key_name = key_name_admin(usr), silent = FALSE) @@ -322,6 +324,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets var/msg = "Ticket [TicketHref("#[id]")] resolved by [key_name]" message_admins(msg) log_admin_private(msg) + send2slack_logs("Ticket #[id]", "Resolved by [key_name].", "(AHELP)") //Close and return ahelp verb, use if ticket is incoherent /datum/admin_help/proc/Reject(key_name = key_name_admin(usr)) @@ -340,6 +343,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets var/msg = "Ticket [TicketHref("#[id]")] rejected by [key_name]" message_admins(msg) log_admin_private(msg) + send2slack_logs("Ticket #[id]", "Rejected by [key_name].", "(AHELP)") AddInteraction("Rejected by [key_name].") Close(silent = TRUE) @@ -358,6 +362,7 @@ var/global/datum/admin_help_tickets/ahelp_tickets msg = "Ticket [TicketHref("#[id]")] marked as IC by [key_name]" message_admins(msg) log_admin_private(msg) + send2slack_logs("Ticket #[id]", "Marked as IC issue by [key_name].", "(AHELP)") AddInteraction("Marked as IC issue by [key_name]") Resolve(silent = TRUE)