Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/twilight-rs/twilight
Powerful, flexible, and scalable ecosystem of Rust libraries for the Discord API.
https://github.com/twilight-rs/twilight
8cfaf77f905a4a60410dad45d02f56baad243ef2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Added a test to showcase what the behavior looks like now: Guild gets
marked as unavailable, gu...
Ensure that messages do not send a list of embeds with a combined length
of over the limit. Thi...
907d682b248a8390be190ba1e4fd382a714235f0 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Add a new method to `twilight_model::id::Id` called `into_nonzero` to
retrieve the `NonZeroU64`...
Add new fields to the cached voice state type that have since been added
to the `twilight_model...
Followup to #1482.
368083325208bfe8d0cfd1f133c9828f3c9e846e authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
When `LargeBotQueue` is not being used, there is no need to depend on
twilight-http. This curre...
We have a type, `model::CachedVoiceState`, that is a slimmed-down
version of a voice state. How...
This will still run CI on all pull requests, however for more
complicated PRs that require auth...
This type was only used one time, inside of the `Serialize`
implementation. Replaced by `Id`'s ...
Adds a queue that immediately allows any requests.
Part of #1488.
Co-authored-by: Zeyla He...
d2e86d5177fc048f1f04e3035e2b7dd2f46b5f03 authored almost 3 years ago by Jens Reidel <[email protected]>
The `compression` feature was broken, so this PR "fixes" it by making it
do nothing at all. Fea...
This was previously a correct number initially, but as members join and
leave, it is no longer ...
c6a40abee41cd094d700d1dfa7642e10b1fa1b56 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Initial release ([#1331], [#1395] - [@7596ff], [@baptiste0928]).
[#1331]: https://github.com/tw...
1d30cf1e20050278be32f019409f97fc32be05f2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Changes
All types and method signatures have been updated to use the new `Id<T>`
syntax ([#1260...
The advertisement crate has been updated to bump development
dependencies.
Changes
All types and method signatures have been updated to use the new `Id<T>`
syntax ([#1260...
`Id<T>`
IDs are now a unified type (`Id`) with marker generics
(`ApplicationMarker`, ...) ([#12...
Changes
All types and method signatures have been updated to use the new `Id<T>`
syntax ([#1260...
All types and method signatures have been updated to use the new `Id<T>`
syntax ([#1260] - [@zey...
Validation
Validation has been moved to a new crate, `twilight_validate` ([#1331] -
[@7596ff])....
Additions
Add `Path` variants for scheduled events ([#1347] - [@7596ff]).
Changes
`Method::in...
6f6054cdd4e67da0f56e9e54a457957bf5e526e4 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add `Information::{ratelimit_refill, ratelimit_requests}` to view how
much time until...
Changes
The `rustls` feature has been removed ([#1314] - [@Gelbpunkt]). Users
must manually sel...
Changes
The MSRV has been updated to 1.57 ([#1402] - [@zeylahellyer]).
The Rust edition has be...
9d89d52995ae5b25553f3f5f904409bc3d1849c0 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Changes
The MSRV has been updated to 1.57 ([#1402] - [@zeylahellyer]).
The Rust edition has be...
0b5bb84eb4a66c40d6b40491cfeebff424fd5912 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Changes
All types and method signatures have been updated to use the new `Id<T>` syntax
([#1260...
b3214831e8273e60ec7d0ce7d81c0510f66a6414 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Provides a function that takes a closure which allows setting a shard's
presence based on its I...
91e4e3b6d9a7af8a35d76770e6d23ef70c34648f authored almost 3 years ago by Cassandra McCarthy <[email protected]>
As indicated in the [docs], the returning object's `channel_id` can be `null`.
[docs]: https:...
c545c97e31d46e8d002f8d507da5d3a203b045b8 authored almost 3 years ago by ITOH <[email protected]>Closes #1464.
6d9bad52f597c4e2546be1e223b3940862ea0ed6 authored almost 3 years ago by ITOH <[email protected]>
This was intened to land at the same time as `twilight_http::Client`
constructor's got reworked...
Revert "refactor: add snowflake getters to `Id<T: Snowflake>` (#1332)",
effectively moving the ...
4435b1cb6f96ddb3acf47a2714817a526850e086 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Additions
Support sending stickers in `CreateMessage` ([#1435] - [@cmays90]).
[#1435]: https:/...
88015961fdac0c3cca2ff52e21b3f85e6668538f authored almost 3 years ago by Cassandra McCarthy <[email protected]>Additions
In interactions, support `guild_locale` and `locale` ([#1437] - [@itohatweb]).
Suppo...
3113d93e4281ba851e64d07f4902a3b8413628a7 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Changes
Support `Interaction::{guild_locale, locale}` ([#1437] - [@itohatweb]).
Support `Threa...
adca8212ea9791bc297476bef08782405f05330c authored almost 3 years ago by Cassandra McCarthy <[email protected]>Changes
Ensure the `rt` feature of `tokio` is enabled ([#1425] - [@vilgotf]).
[#1425]: https:/...
2575ab3b5ea0cf16b0ee12fe04510964eb8af486 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
This release contains internal refactors ([#1335] - [@vilgotf]). There
are no public facing chan...
Changes
Remove two unneeded calls to `clone` ([#1440] - [@vilgotf]).
[#1440]: https://github.c...
d01f6e8f795852097111f1787b3f81b6d9df183e authored almost 3 years ago by Cassandra McCarthy <[email protected]>Closes #1475.
e9f6a84ba1ba8ebe86a3375d68370cc4cdd121af authored almost 3 years ago by ITOH <[email protected]>Closes #1462.
9f841f0e00ea435c90ee15c0a2bac14ed86eb148 authored almost 3 years ago by ITOH <[email protected]>`>=0.14, <0.19` can't be used since 0.18 drops the `std` feature
b2217d1341bc3f0101f51539e6dad87ced1733e1 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>Having `Display` be behind a seperate method doesn't hold much value.
6e10c82ccf4c04847f15957fbae453ba36bb9b02 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>646764dc194ad3ea78cd5d871b100cb58eb67d12 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
7966668ce0097490fb85c94e4fe983ea42dff1b2 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Currently, the implementations of `PartialEq` in the cache are using two
different methods. Thi...
e1531ece45cf453adc8907305a6c461aee032c1c authored almost 3 years ago by ITOH <[email protected]>
Use `if let` instead of a match in some cases, merge
`parse_gateway_event` into one function wi...
This route is deprecated and can be removed.
f680bafc21556a387cc260e76dbf7415cff192f1 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
These were missed in the validate crate PR. They do not need to be
public anymore.
- rename `route::path` to `to_path`, `to_` indicates that the method
allocates / is expensive...
ba569644f68c5569ab7eba9a3144dd366d99274d authored almost 3 years ago by Cassandra McCarthy <[email protected]>
The issue causing workflows to fail with [`baptiste0928/cargo-install`]
had been fixed in versi...
This PR moves examples from their own crates to a single directory.
A secondary effect is tha...
4ab02a74fe250956ecaebaa36c6b0130ff9edf17 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>
This code is from the first implementation of `gateway`, back then
`Drop` contained this code:
...
Add the Contributor Covenant Code of Conduct as our code of conduct.
Signed-off-by: Zeyla Hel...
a471c2509dacc19eed14ffd785d4840ad800714a authored almost 3 years ago by Zeyla Hellyer <[email protected]>Closes #1445.
428d220a73f3a544a1d9225c54459acf1aca4a7a authored about 3 years ago by Cassandra McCarthy <[email protected]>As C-SEALED recommends, most of Twilight's traits are already sealed.
e609cad79943bbf10b998ab898c8f7ae327a3347 authored about 3 years ago by Vilgot Fredenberg <[email protected]>8f55e437fb343b60cb212e9feb7f2bab86ecc163 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Closes #1443.
0cbdf78344533d24c59f90829983bb51d791035c authored about 3 years ago by ITOH <[email protected]>82ba7a2470ace00ddf171f1eecb811df0dade5c3 authored about 3 years ago by Gryffon Bellish <[email protected]>
This PR implements Scheduled Events.
Closes #1283.
d996ebf157fd757cba932f1c245d26dfc6bab0d1 authored about 3 years ago by Cassandra McCarthy <[email protected]>9716cd49e25516b001efc3f612c32021e0126104 authored about 3 years ago by Cassandra McCarthy <[email protected]>
f2b22854b8da7e1314778fab5d46ff6475d5de45 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Using `cargo-minimal-versions` caught two "bugs": `http-ratelimiting`'s
tokio dep needing the `...
There were two unnecessary clones on transfer channels. This PR removes
them.
Docs commit: https://github.com/discord/discord-api-docs/commit/30cc2ea5efc83e2398c72d2a47f5aecc...
41fec12a935b0f7a201803e74c7596f1f2058ede authored about 3 years ago by ITOH <[email protected]>
`sticker_ids` is an array of snowflakes in the body of the
`CreateMessage` payload. This PR add...
This PR improves validation of slash command names and command options
names. It checks that ch...
ab52b61faf3852f1dce07004b76f11b891003c33 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes
Downgrade `dashmap` to `4.0`, to prevent an issue with `Ref::value` and
`dashmap 5.0` ([#...
Fixes
Downgrade `dashmap` to `4.0`, to prevent an issue with `Ref::value` and
`dashmap 5.0` ([#...
Changes
Gateway parsing failures now emit at an `error` level ([#1427] -
[@AEnterprise]).
[#14...
ca2c288b061e7c2953200b4595815b94ad89c30f authored about 3 years ago by Cassandra McCarthy <[email protected]>Fixes
Downgrade `dashmap` to `4.0`, to prevent an issue with `Ref::value` and
`dashmap 5.0` ([#...
Using `Ref::value` with `dashmap` 5 may produce a reference that outlive
the Ref and thus cause...
Failing to receive an event can cause cache desyncs or bots not reacting
properly to events. Mo...
fc6d899faa54b81f3cb416cf996d64e13aba532f authored about 3 years ago by Cassandra McCarthy <[email protected]>
Changes
Support `CallbackData::embeds: Option<Vec<Embed>>` ([#1401] - [@itohatweb]).
[#1401]: ...
e539d4c3fadd84ab65ff9c228aa12d773f4ff396 authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
Support the fixed `ThreadDelete` event ([#1426] - [@AEnterprise]).
[#1426]: https://gi...
366e6f352daf24da6cc0efbb7d2d698fd3170619 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add `{Guild, PartialGuild}::premium_progress_bar_enabled` ([#1399] -
[@Erk-]).
Suppo...
b6d50d7f77c36dd0239cca57fb2b29bda8c6907a authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
This release contains internal refactors, there are no public facing
changes.
Additions
Add `Client::get_current_user_guild_member` ([#1355] - [@HTG-YT]).
Add `UpdateGuild:...
aa7e42b2d99a05e1abba45b34e681914cc38adf9 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Support the `scope` header ([#1351] - [@zeylahellyer]).
Add `Path::UsersIdGuildsIdMe...
d79e4e1a0404c08df58cb39a339d06117d18ab47 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Support the following close codes: `4010 Invalid Shard`, `4011 Sharding
Required`, `4...
Additions
Support `Guild::premium_progress_bar_enabled` ([#1399] - [@Erk-]).
Add an iterator o...
a25eced6d2483e7b88cc0fddd202f96acbeab014 authored about 3 years ago by Cassandra McCarthy <[email protected]>2c6459f9c44bc340eef5700644d113184fd2fb75 authored about 3 years ago by Cassandra McCarthy <[email protected]>
ThreadDelete could not be deserialized as it expected a full channel
struct while we only get a...
Discord counts a heartbeat ACK as 1 of the 120 allowed gateway payloads
and regularly request t...
09a7dd5b5f8afac872a3f5f56851bcb5c6abc5bc authored about 3 years ago by Cassandra McCarthy <[email protected]>
This is way too noisy for warnings. The gateway emits events Twilight
doesn't know about. This ...
acd48fbecc5be85c3b21f01e1946c126e667f3bf authored about 3 years ago by Cassandra McCarthy <[email protected]>
e3012191c260ec62fe700392b03012d2e6c22ec6 authored about 3 years ago by Cassandra McCarthy <[email protected]>
This reverts commit 1b179fcefd72565d76ebe8a88ea0277b09968a82.
c6405f055ca9440b9be994c8fb8e937d471334aa authored about 3 years ago by Cassandra McCarthy <[email protected]>Reference: https://github.com/discord/discord-api-docs/commit/c63a4d5a604b6c2dbb5e5b5c1e3c2a101e...
0c8ceb2bf1e2e2fb73a7dabddf2980d86fedf381 authored about 3 years ago by ITOH <[email protected]>
Adds a missing field on the voice state struct as per
https://discord.com/developers/docs/resou...
Typing was wrong in this model.
75aeff7b27abcf9b562cc8ce4e93ae50fb913c65 authored about 3 years ago by AEnterprise <[email protected]>