twilight
twilight copied to clipboard
Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
Currently boundaries are [randomized](https://github.com/twilight-rs/twilight/blob/ef7aa42d0c63460851bd5e81eb5be08b7a321827/twilight-http/src/request/multipart.rs#L129-L138), but this is not a strict spec requirement (see discussion in #2239). Switching to a static boundary would allow us to drop the randomization provider dependency...
[Discord docs](https://discord.com/developers/docs/resources/channel#message-object-message-structure) say that the distinction is significant: > **** This field is only returned for messages with a type of 19 (REPLY) or 21 (THREAD_STARTER_MESSAGE). If the message is...
Closes #1961 and #2320
Switch the GH Pages API documentation workflow from deploying from a commit to deploying from an artifact. Twilight currently has an extremely large `gh-pages` branch with all snapshots of our...
Adds support for the `VOICE_CHANNEL_EFFECT_SEND` event. This event is fired when a user sends a soundboard sound uses the shared canvas or uses an emoji reaction. Ref: - https://github.com/discord/discord-api-docs/pull/6025 Needs...
This closes #650. I opted to keep the rate limit trait as is for now, even though `is_globally_locked` is unused. Additionally, the global rate limiter waits for each request to...
Validates modal `title`s within `InteractionResponseData` when sending a response. Closes #1622
Add a Clippy denylist for macros. Denies the use of the following macros: - `serde_json::json`: less flexible and performant, use structs and serde_derive - `std::vec`: the Vec::new and Vec::from methods...
Hey there! I recently started working on writing a Cloudflare Worker library for Interactions using `twilight-model` and `twilight-http`, though `twilight-http` uses tokio, which is currently not supported by Cloudflare Workers....