twilight icon indicating copy to clipboard operation
twilight copied to clipboard

Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.

Results 137 twilight issues
Sort by recently updated
recently updated
newest added

It may be useful to have some sort of debugger / scanner of the cache to find unresolved references which are indicative of bugs. As a potential part of this...

t-feature
c-cache

The `http` crate is being exposed by the `twilight-http-ratelimiting` crate via [`request::Method::to_http`](https://docs.rs/twilight-http-ratelimiting/0.8.3/twilight_http_ratelimiting/request/enum.Method.html#method.into_http). This method must have made it through the refactor out to another crate, and we can instead have...

m-breaking change
t-refactor
c-http-ratelimiting

```rs use twilight_http::Client; let client: Client = Client::new("my token".to_owned()); let embed: Embed = /* create an embed statically */; // The embed we created above was created statically, // but...

c-http
t-refactor

Taking an owned value instead of a borrowing means the cache doesn't have to clone data to construct it's cached models. The advantage of this is no forced cloning of...

c-cache
m-breaking change
t-refactor
w-needs-more-docs

Parse `X-Ratelimit-Scope` in response headers and deal with it accordingly. For now I suggest we simply ignore shared ratelimits, because we can't know whether our timer is still accurate. -...

t-feature
c-http
d-api

```rust pub enum Foo { Bar { a: String, b: i32, } } ``` becomes ```rust #[non_exhaustive] pub enum Foo { Bar(Bar), } #[non_exhaustive] pub struct Bar { pub a:...

m-breaking change
c-all
t-refactor

Instead of making fields public - therefore exposing their name and type - hide them behind getters. For example, the field `name: String` should be private and have a getter...

m-breaking change
c-all
t-refactor
w-unapproved

After spending some time debugging why i was getting 429's on stuff that i really shouldn't be getting it on i managed to boil it down to a bug in...

t-bug
c-http
c-http-ratelimiting

Link from `model` types' documentation to their respective builders in the documentation. *Issue created from note on moved project board.*

t-docs
c-model

*Issue created from note on moved project board.*

t-feature
m-breaking change
c-util
c-validate