{"repo":"nefarius/Nefarius.DSharpPlus.Extensions.Hosting","free":true,"listed":false,"github":"https://github.com/nefarius/Nefarius.DSharpPlus.Extensions.Hosting","clone":"git clone https://github.com/nefarius/Nefarius.DSharpPlus.Extensions.Hosting.git","description":"Glues .NET Core Hosting and DSharpPlus together for use with DI.","language":"C#","stars":17,"topics":["dotnet","dotnet-core","discord","discord-bot","dsharpplus"],"license":"MIT","category":"chat-messaging","readme_excerpt":"DSharpPlus hosting extensions An extension for DSharpPlus to make hosting a Discord bot in .NET Core Worker Services easier. [!IMPORTANT] 🚨 This project is in maintenance mode 🚨 With DSharpPlus version 5 (onwards) the event handling design has been completely overhauled, making the core features of this project obsolete. Version 5 is also more tightly coupled to dependency injection, another great change. Therefore, I will no longer introduce any breaking changes nor try to make it v5 compatible. It's been a fun ride! This project's nuget versions 6.x build upon DSharpPlus 4.x . Older nuget versions are a bit chaotic, so I recommend you skip them 😁 About --- This is not an official DSharpPlus extension, use it at your own risk! --- This set of libraries abstracts away a lot of the plumbing code required to get DSharpPlus up and running in a .NET Core Worker Service (or simply a plain old Console Application) and provides Dependency-Injection-friendly integration. It also offers a new feature/concept on top: event subscribers! Changes happening in the Discord universe are represented in DSharpPlus by a (rather large) number of events that can be subscribed to. The library offers an interface for every event of the Discord Client your \"event subscriber\" class can implement. These interface methods will be called when the corresponding event occurs. But there's a convenience extra: within the callback method you will have access to scoped services, like database contexts! And","default_branch":null,"files":null,"tree":[],"storefront":"/r/nefarius","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nefarius/Nefarius.DSharpPlus.Extensions.Hosting/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}