Discord.Net
Discord.Net copied to clipboard
An unofficial .Net wrapper for the Discord API (https://discord.com/)
### Check The Docs - [X] I double checked the docs and couldn't find any useful information. ### Verify Issue Source - [X] I verified the issue was caused by...
### Check The Docs - [X] I double checked the docs and couldn't find any useful information. ### Verify Issue Source - [X] I verified the issue was caused by...
### Check The Docs - [X] I double checked the docs and couldn't find any useful information. ### Verify Issue Source - [X] I verified the issue was caused by...
## Summary This PR adds a new builder called `MessageBuilder` which can build a `Message` that is used in `SendMessageAsync` functions. The upsides to this style is we can merge...
## Summary This PR implements state and cache providers as proposed in #2238. The current api of the providers is up for debate, I've implemented it how I see fit...
### Check The Docs - [X] I double checked the docs and couldn't find any useful information. ### Verify Issue Source - [X] I verified the issue was caused by...
### Check The Docs - [X] I double checked the docs and couldn't find any useful information. ### Verify Issue Source - [X] I verified the issue was caused by...
[The existing reflection code](https://github.com/RogueException/Discord.Net/blob/dev/src/Discord.Net.Commands/Utilities/ReflectionUtils.cs) does the same work as [ASP.NET DI's ObjectFactory](https://github.com/aspnet/DependencyInjection/blob/dev/shared/Microsoft.Extensions.ActivatorUtilities.Sources/ActivatorUtilities.cs), which is already being pulled by using Microsoft.Extentions.DependencyInjection. It might be prudent to use the latter.
Around `IGuild.PremiumSubscriptionCount`. The type is `int`, but it is commented that ` if not available`. I am not sure which is better to change the type to `int?` or `Optional`,...
Working in a separate branch so that more testing and discussion can be done without screwing up history. (I.e. all of the changes can be squashed when merging.) This is...