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
Discord's `AuditLogChangeKey` for `RoleAdded` is `$add`, and for
`RoleRemoved` it is `$remove`.
Update to Rust 2021 now that the MSRV is raised to 1.57.
Primarily remove imports that are no...
41778c27bd61ea29804ab0404f6e24539fef3199 authored about 3 years ago by Vilgot Fredenberg <[email protected]>
Specify the MSRV of crates in the `rust-version` field of `Cargo.toml`
files.
8e09a3b0038362ef7f314cc7d0fa9b36dce36944 authored about 3 years ago by Zeyla Hellyer <[email protected]>
Parse image hashes as 128 bit integers. Image hashes from Discord are
base 16, 32 character len...
Add `communication_disabled_until` to the `MemberUpdate` event, and
use it to update the cache.
Remove explicit uses of `#[doc(cfg)]` by enabling the `doc_auto_cfg`
feature with the `docsrs` ...
Expose new methods on `twilight_gateway::shard::Information` to retrieve
the remaining number o...
7d785a5a03b17a6cf8dfe839ba3585b072f9d89e authored about 3 years ago by Cassandra McCarthy <[email protected]>
Add a new method to the cache allowing users to retrieve the IDs of the
users with voice states...
Rename `Id::new` to `Id::new_checked` and add a new const method named
`new` that takes a value...
* chore(gateway): handle previously unhandled error codes 4010-4012
closes #1377
* spellin...
8c739cfea2b7c09be6a6174ac6039e55a4267178 authored about 3 years ago by Erk <[email protected]>Closes #1321.
546a58ae6084bd22a13ce06fd30256c7ac9ff518 authored about 3 years ago by Erk <[email protected]>7f69207d23ce0e76e0c8ec049de8fae72750d37f authored about 3 years ago by Cassandra McCarthy <[email protected]>
Closes #1322.
90668b5f0dd4d93b24519ad20cebc7b861ae6a3e authored about 3 years ago by HTGAzureX1212 <[email protected]>
Allows for removing embeds in the first response to a component
interaction.
Support parsing of the `x-ratelimiting-scope` header, which indicates
the scope of a ratelimit....
Instead borrowing the resource. Follows the Rust ecosystem's move away
from this keyword and ma...
Remove the `twilight_http::api_error::ErrorCode` enum. This enum is a
mapping of error code num...
Add a new GitHub Actions workflow that uses `fuxingloh/multi-labeler` to
automatically label pu...
04edac0fe7b0b31e55228c3f618026a7fa76e517 authored about 3 years ago by Cassandra McCarthy <[email protected]>
This was originally retained for backward compatibility in #720.
A few releases have gone by ...
a9ce92170c0922b9bf5b05a4c254342d996dff19 authored about 3 years ago by Jens Reidel <[email protected]>
This PR refactors much of `http`'s validation to its own crate. This
crate exposes functions an...
281ed01e4ce4a1b133e5db4853724383a3dcc6fe authored about 3 years ago by Cassandra McCarthy <[email protected]>
ce9e55b66afb943e7f32b4ea3a4f67624d918fe3 authored about 3 years ago by Cassandra McCarthy <[email protected]>
137548d80a24c22355e4975f81d0f03e4aae5f13 authored about 3 years ago by Zeyla Hellyer <[email protected]>
Additions
Support guild member timeouts ([#1342] - [@HTG-YT]).
Support iterating over a channe...
497bf42f5fdac03c0932fac01487a02c884461d4 authored about 3 years ago by Zeyla Hellyer <[email protected]>
The Command Parser crate has been deprecated in favor of Gateway or HTTP
interactions and will b...
Signed-off-by: Zeyla Hellyer <[email protected]>
789e3c8204e2565d7e8000276ed0e2932167b74c authored about 3 years ago by Zeyla Hellyer <[email protected]>Additions
Support guild member timeouts via
`UpdateGuildMember::communication_disabled_until` (...
Additions
Support guild member timeouts via
`Member::communication_disabled_until` and `Permiss...
Support pre-flight request cancelation via a new method,
`ResponseFuture::set_pre_flight`. This...
The route has been functional but it may cause isses.
The URLused being used was
<https://di...
Deprecate the Command Parser crate because we now reasonably support
interactions and deprecati...
Add a new iterator named `ChannelMessages` returning the message IDs of
a channel. This is made...
ae31e7d7e6ca56e9e94d42b33281bce17ea78702 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fix some named anchors that didn't have references in the READMEs of the
`twilight-cache-inmemo...
b97159d7b2b3c34fff8b42fbc954a22292fb12ba authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fix the Display implementation for the `GetActiveThreads` route. The
start of the formatted pat...
It is implied when root the workspace, i.e. it's only useful when the
current directory isn't r...
Simplify token invalidation state by removing a field on `Client` and
removing a token invalida...
ba7c56b9e8a3c75fb6bccdb8c4216d3e278b21e4 authored about 3 years ago by Zeyla Hellyer <[email protected]>
Instead of ticketing the ratelimiter after a successful send, tick it
before sending. By tickin...
Discord API PR (initial documentation): https://github.com/discord/discord-api-docs/pull/4075
D...
Revert [#1348], which was causing overflows ([#1357] - [@zeylahellyer]).
[@zeylahellyer]: https...
642b1d14fd7803a30787626e5a6a550fa3c19920 authored about 3 years ago by Zeyla Hellyer <[email protected]>Revert "fix(http-ratelimiting): rework started at time (#1348)".
This reverts commit 67adafad...
3e62cd319abbc6200e32ccc99fe36cbdd48cca98 authored about 3 years ago by zey <[email protected]>76f1678dcdaae5990ec16eb0126e7c52676fa147 authored about 3 years ago by Cassandra McCarthy <[email protected]>
6fa8a53e7da2c976ce05c69475c30f4b8d7e3f28 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Changes
Upgrade `dashmap` to 5.0 ([#1336] - [@vilgotf]). `dashmap` 4.0 is still
allowed.
[#133...
ee5d595d4a79416027c8a56d33f7b392f9d60d32 authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
All `AuditLogChange::{new, old}` variants are now `Option`s ([#1324] -
[@7596ff]). This...
Changes
Upgrade `dashmap` to 5.0 ([#1336] - [@vilgotf]). `dashmap` 4.0 is still
allowed.
[#133...
80827e8a4894ae18559ceb4135e3cd3d79aa717a authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add the API error code `50109 RequestInvalidJson` ([#1338] -
[@vilgotf]).
[#1326]: h...
99ca0818752d8c0e3f0e82db70827e278ff90fbf authored about 3 years ago by Cassandra McCarthy <[email protected]>Fixes
Rework `started_at` header storage so that requests do not start too
early ([#1348] - [@z...
Additions
Reuse TLS connectors between shards when connecting a cluster ([#1058] -
[@Erk]). Thi...
Changes
Upgrade `dashmap` to 5.0 ([#1336] - [@vilgotf]). `dashmap` 4.0 is still
allowed.
Fixes...
0a59b1addf8e4809ff68dd87da2de8b3d35c24bf authored about 3 years ago by Cassandra McCarthy <[email protected]>7531799a878483fe2b114e53f7bbca2fd7597a94 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Remove old interior Arc cloning comments that were missed in #1067.
Closes #1346.
4b756a9d1a2870cf36ec0e94164a24a813f5ede0 authored about 3 years ago by zey <[email protected]>
This PR makes all variants of any key optional. It also adds missing
keys according to the late...
Buckets store three headers of note: `remaining`, `retry_after`, and
`started_at`. `remaining` ...
This removes a borrow to make sure that the pattern is counted as
empty when it is so. It also ...
Adds the `permissions`, `pending`, and `avatar` properties to the
`InteractionMember` struct. R...
This saves a lot of memory when `native-tls` is used and a moderate
amount when `rustls` is use...
Replaces `actions-rs/install` with [`baptiste0928/cargo-install`]. This
improves the speed of e...
`CachedMember::avatar` would return the member's nickname instead of the
member's avatar, which...
672e126d351839e0fe90836ebe120a720672f550 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Implements https://github.com/discord/discord-api-docs/pull/4241.
Part of #1171.
cd949b123093cbaa9150dca55d2a63986dacb7a0 authored about 3 years ago by Vilgot Fredenberg <[email protected]>Implements https://github.com/discord/discord-api-docs/pull/4245.
c4a708dca2c310b229d7a11c36928ba96086b4b2 authored about 3 years ago by Vilgot Fredenberg <[email protected]>There were relevant API changes, so allow at least 4.0, but not 6.0.
16c70d5865aec9fd6ce748eb47d2d548ac32b523 authored about 3 years ago by Vilgot Fredenberg <[email protected]>ee76c17cbb3f578e7b64a13d72b911245f3c7fea authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes
The documentation for `CachedEmoji::available` and `animated` have been
corrected. ([#132...
Fixes
Add a missing implementation of `Snowflake` for `CommandVersionId`
([#1315] - [@vilgotf])...
Additions
Add the API error codes `20029 WriteActionsReached` and `50055
InvalidGuild` ([#1326]...
Changes
`Invite::channel` is now optional ([#1325] - [@zeylahellyer]).
[#1325]: https://github...
eba8f77ee82c88c5419381bf2266d3c136c8fa23 authored about 3 years ago by Cassandra McCarthy <[email protected]>
These were found by running
```sh
grep -R "\`\`\`" --include \*.rs -A 5 | grep marker
```
This aids the discoverability of these methods and no longer requires
importing any traits to u...
d29085fab58c2b3dc9118dc3627eb77c81215e5d authored about 3 years ago by Cassandra McCarthy <[email protected]>
The docs for `CachedEmoji::available` and `CachedEmoji::animated` were
swapped by accident.
Doctests are inferred to be `rust` unless stated otherwise.
0d366e1f3e19c7c0503924fb3a9fb609fd6f0b99 authored about 3 years ago by Vilgot Fredenberg <[email protected]>
Instead of having entirely separate types for each type of ID - such as
`ChannelId`s, `MessageI...
Improve the test coverage of the `twilight_http::routing::route_display`
module by testing the ...
Add a sealed trait located at `request::TryIntoRequest` for converting a
typed request builder ...
957aed46571686c28c5d8890a6c6e3daf2989ca5 authored about 3 years ago by Cassandra McCarthy <[email protected]>
f5a50eccd460c5b12e1cdab304843cca698489b6 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Add custom problem matchers for annotations on the GitHub UI.
0186364ddc38489571d95d57baacdaa4c6339e69 authored about 3 years ago by Gryffon Bellish <[email protected]>Add two new HTTP error codes:
- 20029: The write action you are performing on the server has ...
c49628ba4201306d088e0fbd9e86865a2993c42f authored about 3 years ago by Zeyla Hellyer <[email protected]>
The `twilight_model::invite::Invite::channel` field is optional in
Discord's API.
Documentat...
5a42555feeaf972cae1ef64b9ba6d855767ed9a3 authored about 3 years ago by Zeyla Hellyer <[email protected]>
Move the interaction-related requests from the primary `Client` type to
a new `InteractionClient...
The "playerUpdate" event from Lavalink has been updated in 3.4 to
include a `connected` field.
...
Renames the `kind` field to `type` when serializing a `CommandBorrowed`.
Fixes an issue brought...
Fix the ordering of the `ApiError::Ratelimited` variant, which had a
lower priority compared to...
Conditionally remember whether the configured client token is invalid by
only performing the ch...
Fix a variety of clippy lints across the command parser, gateway queue,
gateway, http, and mode...
Don't send the configured bot token authorization header for interaction
requests. The interact...
Implement the `twilight_util::snowflake::Snowflake` trait for
`twilight_model::id::CommandVersi...
The advertisement crate has been updated to bump development
dependencies.
Additions
Results of event processing are now exposed through a `ProcessResults`
struct ([#1160...
This major version bump of the Mention crate is done to match all of the
other crates in the eco...
Changes
`tracing` is now an optional feature, and enabled by default ([#1203] -
[@Gelbpunkt]).
...
This major version bump of the Command Parser crate is done to match all
of the other crates in ...
Changes
`CachedMember::joined_at` no longer returns an `Option` ([#1278] -
[@vilgotf]).
The `P...
78f9b4cec043c2aac0f2d42f05348385d35f03e3 authored about 3 years ago by Cassandra McCarthy <[email protected]>