When adding a type reader that replaces a default type reader,
CommandService checks that it replaces a type in its default type
readers or entity type readers (IMessage, IChannel, IRole, IUser). For
entity types, it checks that the target type is the same as the entity
type or it implements its type reader. Adding a type reader for a
default type reader doesn't make much sense and the original intent was
likely to check that the target type is or implements the entity type.
`Uri.IsWellFormedUriString()` doesn't return the expected result for specific urls, removed until the DotNet team actually resolves it ( https://github.com/dotnet/runtime/issues/21626 )
* feature: Webhook message edit & delete functionality
* PR fixes: Rename Edit* to Modify*; Add more detailed docstrings; Small validation fixes
* Fix spacing around docstrings
* Make ModifyWebhookMessageParams.Content Optional<string>
* Change the Webhook message edit functionality to use a object delegate method instead providing the all parameters
Co-authored-by: Desmont <desmont@users.noreply.github.com>
* fixed a deadlock in DiscordShardedClient during a failed Identify due to InvalidSession
* fixed log
* Don't wait ready before releasing semaphore
Co-authored-by: Paulo <pnmanjos@hotmail.com>
Added SocketApplicationCommands, Added method in SocketGuild to fetch that guilds ApplicationCommands.
Tested all rest routes and fixed them accordingly.
Did more testing and I think its ready to go
New Rest entities: RestApplicationCommand,RestGlobalCommand, RestGuildCommand, RestApplicationCommandOption, RestApplicationCommandChoice, RestApplicationCommandType.
Added public methods to the RestClient to fetch/create/edit interactions.
* fixes#1495
* keep obsolete properties and return types for compatibility
* missing properties for SocketInvite
* Restore xml docs and change obsolete message
Co-authored-by: Paulo <pnmanjos@hotmail.com>