diff --git a/Lagrange.OneBot/Core/Notify/NotifyService.cs b/Lagrange.OneBot/Core/Notify/NotifyService.cs index 24ec51a97..f4c9c77e2 100644 --- a/Lagrange.OneBot/Core/Notify/NotifyService.cs +++ b/Lagrange.OneBot/Core/Notify/NotifyService.cs @@ -7,12 +7,8 @@ namespace Lagrange.OneBot.Core.Notify; public sealed class NotifyService { - private readonly LagrangeWebSvcCollection _service; - public NotifyService(BotContext bot, ILogger logger, LagrangeWebSvcCollection service) { - _service = service; - bot.Invoker.OnFriendRequestEvent += async (_, @event) => { logger.LogInformation(@event.ToString());