diff --git a/Content.Server/Administration/ServerApi.cs b/Content.Server/Administration/ServerApi.cs index b8558a2f1ee..c79cabcd205 100644 --- a/Content.Server/Administration/ServerApi.cs +++ b/Content.Server/Administration/ServerApi.cs @@ -408,7 +408,7 @@ private async Task ActionAhelpSend(IStatusHandlerContext context, Actor actor) await context.RespondErrorAsync(HttpStatusCode.BadRequest); return; } - var _bwoinkSystem = _entitySystemManager.GetEntitySystem(); + //var _bwoinkSystem = _entitySystemManager.GetEntitySystem(); var playerUserId = new NetUserId(body.UserId); var senderUserId = new NetUserId(actor.Guid); var message = new SharedBwoinkSystem.BwoinkTextMessage(playerUserId,senderUserId, body.Text); @@ -416,7 +416,7 @@ await RunOnMainThread(async () => { if (_playerManager.TryGetSessionById(playerUserId, out var session)) { - _bwoinkSystem.DiscordAhelpSendMessage(message, new EntitySessionEventArgs(session)); + //_bwoinkSystem.DiscordAhelpSendMessage(message, new EntitySessionEventArgs(session)); await RespondOk(context); } }); diff --git a/Content.Server/Administration/Systems/BwoinkSystem.cs b/Content.Server/Administration/Systems/BwoinkSystem.cs index 1f50e7fd44e..9fbcb229d07 100644 --- a/Content.Server/Administration/Systems/BwoinkSystem.cs +++ b/Content.Server/Administration/Systems/BwoinkSystem.cs @@ -465,7 +465,7 @@ protected override void OnBwoinkTextMessage(BwoinkTextMessage message, EntitySes } } - public void DiscordAhelpSendMessage(BwoinkTextMessage message, EntitySessionEventArgs eventArgs) + /*public void DiscordAhelpSendMessage(BwoinkTextMessage message, EntitySessionEventArgs eventArgs) { var senderSession = eventArgs.SenderSession; @@ -537,7 +537,7 @@ public void DiscordAhelpSendMessage(BwoinkTextMessage message, EntitySessionEven var systemText = Loc.GetString("bwoink-system-starmute-message-no-other-users"); var starMuteMsg = new BwoinkTextMessage(message.UserId, SystemUserId, systemText); RaiseNetworkEvent(starMuteMsg, senderSession.Channel); - } + }*/ private IList GetNonAfkAdmins() {