Skip to content

Commit

Permalink
[OneBot] Refactored NotifyService.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan authored and Linwenxuan committed Oct 31, 2023
1 parent 10b31cd commit 7cbce51
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Lagrange.OneBot/Core/Notify/NotifyService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,8 @@ namespace Lagrange.OneBot.Core.Notify;

public sealed class NotifyService
{
private readonly LagrangeWebSvcCollection _service;

public NotifyService(BotContext bot, ILogger<LagrangeApp> logger, LagrangeWebSvcCollection service)
{
_service = service;

bot.Invoker.OnFriendRequestEvent += async (_, @event) =>
{
logger.LogInformation(@event.ToString());
Expand Down

0 comments on commit 7cbce51

Please sign in to comment.