diff --git a/asg_form/Controllers/webhook.cs b/asg_form/Controllers/webhook.cs index db10ecd..c93991a 100644 --- a/asg_form/Controllers/webhook.cs +++ b/asg_form/Controllers/webhook.cs @@ -9,6 +9,7 @@ using RestSharp; using System.Diagnostics; using static asg_form.Controllers.InviteReferee; using Newtonsoft.Json; +using static System.Runtime.InteropServices.JavaScript.JSType; namespace asg_form.Controllers { @@ -81,6 +82,9 @@ namespace asg_form.Controllers } catch { + var message = new MessageBuilder().Text($"后端有新bug被提交请及时解决!\r\n详细信息:{date1.ToJsonString}").Build(); + + await runbot.runbotr.SendMessageAsync(MessageEnvironment.Channel, "931217544", null, message, "931217544"); } return "ok";