Remora.Discord
Remora.Discord copied to clipboard
A data-oriented C# Discord library, focused on high-performance concurrency and robust design.
As it says on the tin; see also https://github.com/discord/discord-api-docs/pull/6398 (this requires merging #311 first)
This commit implements the new permissions (USE_CLYDE_AI, SET_VOICE_CHANNEL_STATUS, and CREATE_GUILD_EXPRESSIONS) as seen in these PRs: https://github.com/discord/discord-api-docs/pull/6354 https://github.com/discord/discord-api-docs/pull/6398 https://github.com/discord/discord-api-docs/pull/6120
### Description Calling `IDiscordRestChannelAPI#GetChannelMessageAsync` with a message id of an auto mod action such as:  returns a result whose `Error` is set to an `ExceptionError`. The error: ``` ExceptionError...
### Description When registering a nested slash command group, the child group is un-nested at runtime. ### Steps to Reproduce Register the following with Remora.Discord.Commands ```cs [Group("parent")] public class ParentGroup...
### Description When using an autocomplete provider, it's reasonable to assume that if the parameter is marked with the `[Option]` attribute, that name is given precedence over the parameter's name...
This PR implements simple scoping for the cache library in order to keep data belonging to different tokens separate. In its current state, it is not a complete implementation since...
https://github.com/discord/discord-api-docs/pull/5723
### Description As it stands right now, the gateway client is not only the single biggest, single-purpose class* in the library, but it is also the top allocator as shown...
### Description `DiscordGatewayClient.RunAsync()` doesn't seem to be properly disconnecting from the gateway when its `CancellationToken` is cancelled. According to the official [documentation](https://discord.com/developers/docs/topics/gateway#initiating-a-disconnect): ``` When you close the connection to the...
### Description When using Remora.Discord with different Bearer tokens then the cache will be shared among all tokens. ### Steps to Reproduce 1. Switch token used during execution ### Expected...