更新proto

This commit is contained in:
2024-12-19 21:30:43 +08:00
parent 4e7c846426
commit 0d3ad913be
3 changed files with 33 additions and 20 deletions

16
Event/BotEventHandler.cs Normal file
View File

@@ -0,0 +1,16 @@
using Lagrange.Core.Event;
using Shrink.Login;
namespace Shrink.Event;
public class BotEventHandler
{
public BotEventHandler()
{
Console.WriteLine("Bot EventHandler");
}
private static readonly Lazy<BotEventHandler> _instance = new(() => new BotEventHandler());
public static BotEventHandler Instance => _instance.Value;
private EventInvoker _invoker = BotService.Instance.Client!.Invoker;
}