twilight
twilight copied to clipboard
Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
Refactor and restructure the `twilight-gateway` crate from the ground up, providing a simpler implementation that is easier to follow the implementation details of and easier to use. There are two...
I believe `twilight-gateway`'s dependency on `twilight-http` is unnecessary most of the time, and thus for bots that do not interact with the HTTP API this brings in unneeded dependencies to...
Currently when a request to the discord api gets rate limited (429 response) twilight does not try it again but just returns the error. While twilight does it's best to...
This PR implements Forum Channels support. Continued from #1833. Closes #1675.
Adding variants is technically a breaking change without this. Also removes some out of place `Ord` and `PartialOrd` implementations and alphabetizes the order of derived traits. Mostly a redo of...
Keeps `Id` `Send` & `Sync` when `T: !Send` & `T: !Sync`.
Closes #1709. Closes #1867. Changelog --------- Remove `TriggerType::HarmfulLink`, add `TriggerType::MentionSpam`. Add requests `CreateAutoModerationRule`, `DeleteAutoModerationRule`, `GetAutoModerationRule`, `GetGuildAutoModerationRules`, and `UpdateAutoModerationRule`. `CreateAutoModerationRule` ensures the correct trigger metadata is supplied by replacing `exec` with...
Necessary for a future Twilight voice crate.
Variant was added to `Event`, but not to `DispatchEvent`, which prevented it from being deserializable.