Skip to content

Commit

Permalink
[OneBot] Notify
Browse files Browse the repository at this point in the history
  • Loading branch information
Linwenxuan authored and Linwenxuan committed Oct 30, 2023
1 parent afc29d9 commit 94c13ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Lagrange.OneBot/LagrangeAppBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
using Lagrange.Core.Utility.Sign;
using Lagrange.OneBot.Core.Message;
using Lagrange.OneBot.Core.Network;
using Lagrange.OneBot.Core.Network.Service;
using Lagrange.OneBot.Core.Notify;
using Lagrange.OneBot.Core.Operation;
using Lagrange.OneBot.Database;
using Lagrange.OneBot.Utility;
Expand Down Expand Up @@ -83,6 +83,7 @@ public LagrangeAppBuilder ConfigureOneBot()
Services.AddSingleton<ContextBase, LiteDbContext>();
Services.AddSingleton<SignProvider, OneBotSigner>();

Services.AddSingleton<NotifyService>();
Services.AddSingleton<MessageService>();
Services.AddSingleton<OperationService>();
return this;
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ Please use Lagrange.Core responsibly and in accordance with the law.
| Notice | [Group Poke] | 🔴 |
| Notice | [Group red envelope luck king] | 🔴 |
| Notice | [Group Member Honor Changed] | 🔴 |
| Request | [Add Friend Request] | 🔴 |
| Request | [Add Friend Request] | 🟢 |
| Request | [Group Request/Invitations] | 🔴 |
| Meta | [LifeCycle] | 🟢 |
| Meta | [Heartbeat] | 🟢 |
Expand Down

0 comments on commit 94c13ea

Please sign in to comment.