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
This request wasn't sending the actual JSON to Discord. This PR fixes that.
7865aabe405f528120738faa0129737b312348b3 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
`CreateRole` and `UpdateRole` now support setting either the `icon`
(image data) or t...
Changes
The readme now links to `docs.rs` instead of specific versions of
crates ([#1224] - [@z...
Additions
Add `Standby::wait_for_component` and `wait_for_component_stream`, which
filter event...
Additions
Add `AuditLogChangeKey::UnicodeEmoji`, `Role::icon`, and
`Role::unicode_emoji` ([#121...
Changes
Fixes some spelling errors in documentation ([#1223] - [@7596ff]).
[#1223]: https://gi...
5d4be823f3b55951ab123bd507bf49e8ff41dae0 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
`CreateRole` and `UpdateRole` now support setting either the `icon`
(image data) or t...
Changes
Fixes some spelling errors in documentation ([#1223] - [@7596ff]).
[#1223]: https://gi...
73a8412e4cbff0386e9d4f4d99209f90c4bb60a6 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Now supports role icons ([#1212] - [@7596ff]).
Changes
Since sticker descriptions c...
fce5d6210698d13077ab15baf211b157c3526461 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Instead of specifying a `Cargo.toml` `[dependencies]` section with
crates and their versions ju...
Some errors were in exposed types, so I have not fixed them on the
`main` branch, as that would...
This field is internal.
82513bdb3ebad91650e5486186c652aaed64555f authored about 3 years ago by Vilgot Fredenberg <[email protected]>Fixes an error in deserializing subcommands when no options are present.
Co-authored-by: Cas...
c49875dadbae2ec0eba309f5f132d9d5a119a97b authored about 3 years ago by Vilgot Fredenberg <[email protected]>Adds functions and types that enable listening for components.
Closes #1179.
b3ce8fe7873a8400f70906cb6d088f2fbc407eb5 authored about 3 years ago by Gryffon Bellish <[email protected]>This request wasn't sending the actual JSON to Discord. This PR fixes that.
9ee266f29e9118992e97691ecb01ba3710167b90 authored about 3 years ago by Cassandra McCarthy <[email protected]>b42688bef41312d6ad192c9b9f5843b04147c7cc authored about 3 years ago by Cassandra McCarthy <[email protected]>
Part of #1171.
01efb33663f7db762e33b4bfc37c5df6b6b5dfdc authored about 3 years ago by Cassandra McCarthy <[email protected]>Add the `ephemeral` field to `Attachment`. Add static_assertions tests.
Closes #1169.
09b5512fb5ca4978080752e66c14e66f8d392b9d authored about 3 years ago by Cassandra McCarthy <[email protected]>Closes #1149.
a0c588e940a58a8f18fc0b9098eee8c706fd0e32 authored about 3 years ago by Cassandra McCarthy <[email protected]>99aca238099ecbce91040d7edd54172dc3e9ae2b authored about 3 years ago by Cassandra McCarthy <[email protected]>
Adds `Role::icon` and `Role::unicode_emoji`. Adds methods to set these
fields on `CreateRole` a...
Based on initial work by @zeylahellyer.
- New crate: `twilight-http-ratelimiting` with `Ratel...
f300a842594db9bcb243c2491ceb25cad4ec3c37 authored about 3 years ago by Jens Reidel <[email protected]>
This simply moves the gateway-queue library to the root of the project
directory. This isn't a ...
This checks our examples and tests in our Clippy and MSRV runs. My
environment was catching the...
This PR adds a `?` after the route `/threads/archived/public` so using
the `before` or `limit` ...
To prevent breakage in the cache, the description is set to an empty string.
4f3c510b5ad01f21cbf077befff8e60af3b60de1 authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
`PermissionCalculator::owner_id` is now an `Option<UserId>` ([#1039] -
[@vilgotf]).
Th...
264afe8aa54ccddb2bc60b64ec183d99798dd571 authored about 3 years ago by Cassandra McCarthy <[email protected]>
The advertisement crate has been updated to bump development
dependencies.
Changes
`Standby` no longer implements `Clone`, because it is no longer
internally wrapped in a...
Enhancements
All `Id` models are now based on `NonZeroU64` instead of `u64` ([#1039]
- [@vilgot...
Changes
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
[@7596ff]: https://github.com...
16f3351d54f2435ae83753316122487698df34d0 authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
`Lavalink`, `Node`, and `Player`, no longer implement `Clone`, because
they are no long...
Changes
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
Rework the header API ([#1066...
51b611371a2cb23e578b8a108cbf2508d09de427 authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
The gateway ratelimiter has been reworked in multiple PRs ([#1061] -
[@Gelbpunkt], [#11...
Changes
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
[@7596ff]: https://github.com...
326c5d4f5208583d3b4fadd03f0cdb161d3fcaef authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
`EmbedBuilder::timestamp` now...
0cb26cb13c24d1ce51624cf199eabd48c4bbecdc authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
[@7596ff]: https://github.com...
a2f13d53fb1cffa3139fe27e1ca2d3db327f9e86 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add an interface to create iterators over various resource types stored
by the cache ...
This was missed with rebasing #1064 and main.
3e95f49f756e951fe9b86038e97b8d83a0b1dd65 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Use `haswell` instead of `native` due to some GitHub Actions runners not
supporting some `avx51...
Part of #1164.
18e28f2259b4b1f513374e49ae723a0c5bbd09a8 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Parse and format Discord's ISO 8601 datetime strings using a custom
parser and formatter. By do...
Refactor and document the entirety of the Standby crate. All public and
private items are now d...
Add an interface to create iterators over various resource types stored by the cache.
The new...
de319edc05ac8a2b08303c9f3901e02663a0d2b4 authored about 3 years ago by Zeyla Hellyer <[email protected]>Rename `MANAGE_EMOJIS` to `MANAGE_EMOJIS_AND_STICKERS`.
a7097df67369713f3a8fc0f5099123d8f8fff54d authored over 3 years ago by Cassandra McCarthy <[email protected]>Remove re-exports of `Application` request builders, which were deprecated in `0.6.4`.
279b42959e38ad3d1fb80625813e3b5377da6565 authored over 3 years ago by Cassandra McCarthy <[email protected]>Remove `Ratelimiter::get`, which was deprecated in `0.5.0`.
0fe6a371556ac341532664ea3a99c33301fa3a5f authored over 3 years ago by Cassandra McCarthy <[email protected]>Remove `Cluster::command_raw` and `Shard::command_raw`, which were deprecated in `0.3.0`.
9a489769257855cdbb455de613676bf563db0dfb authored over 3 years ago by Cassandra McCarthy <[email protected]>This PR standardizes traits on various `Builder` types.
Removes the implementation of `Clone`...
33484fe5bc7e447145e2f221a41bff555b61ab3a authored over 3 years ago by Vilgot Fredenberg <[email protected]>
BREAKING CHANGE: Reworks the `CommandDataOption` type, by resolving the
kind of option for the ...
This reverts commit 98ea9cb63f9c3f48dba8affde6196e4f12f14564.
1b5d7ae96b43955918867e3e894e5c58f75e603f authored over 3 years ago by Cassandra McCarthy <[email protected]>
This merges our CI jobs into one file, which allows us to set the `concurrency`
key, limiting o...
Rename the `new_create_global_command` and
`new_create_guild_command` methods to their proper ...
Removes the `vip` field from `VoiceRegion`, as it is no longer sent by Discord.
Continued fro...
a90ede4028b928650eb199a58c277706b9282bf2 authored over 3 years ago by HTGAzureX1212 <[email protected]>
Updates the MSRV to 1.53, which does two things:
- renames a rustdoc-specific lint to its rust...
Instead of returning owned copies of resources from the cache return
immutable references. This ...
Add a sealed `Command` marker trait for use with `Cluster::command` and
`Shard::command`. These...
Remove interior Arcs from structs, such as the HTTP client, the
gateway's Cluster and Shard, and...
Reorder the `twilight_model::gateway::payload` module from being one big
module re-exporting all...
enhancement!: use nonzerou64 for ids
Instead of storing `u64`s inside of snowflake IDs (such as...
e84067487c9c01122ab6a766067d9ac6ced2342a authored over 3 years ago by Vilgot Fredenberg <[email protected]>
Remove the `required` field from `OptionsCommandOptionData` as it is
supposed to always be `fals...
Rework the logic around how heartbeat tokens are allotted in the
ratelimiter. Instead of doing ...
Rework the header API by taking an iterator of key-value header pairs
instead of an `http` crate...
Instead of exposing the fields of models directly, expose them behind
getters. This will allow ...
Fix the gateway ratelimiter's reset interval duration from 120 seconds
to 60 seconds.
Relate...
18ea7103181f6368570e2e9f7471f7d951ea9ac5 authored over 3 years ago by Zeyla Hellyer <[email protected]>
Instead of storing discriminators as Strings we can store them as u16s.
Fields will continue to ...
Use a leaky bucket ratelimiter to ratelimit requests instead of using a
throttler to throttle o...
Replace the `once_cell` dependency with `tokio`'s `OnceCell
implementation.
Closes #980.
470d6b775b2c0745c3e7e450bd7947c010e998ba authored over 3 years ago by Jens Reidel <[email protected]>
Rework the Cluster configuration by more directly using the Shard
configuration and removing so...
Adds the `builder` module, which is currently populated with the
`CommandBuilder` ([#1048] - [@v...
Additions
Adds the `CommandOption::Number` variant, which is a single element
tuple containing ...
Additions
Adds decompression support. This is enabled by default. The feature is
named `decompr...
This release contains internal refactors, there are no public facing
changes.
Additions
Adds `ResourceType::STICKER` ([#1157] - [@7596ff]).
Adds caching for stickers in the...
81e36c11329cfcdcfee836756fb9689dba1b5591 authored over 3 years ago by Cassandra McCarthy <[email protected]>cc5c345e26220c9e04f7118732d7164e530d41b4 authored over 3 years ago by Cassandra McCarthy <[email protected]>
This reverts the workaround introduced in #785 since tokio 1.12 added back `try_recv()`.
09379e6fc0924318dba2a46de1099da7541fc44a authored over 3 years ago by Jens Reidel <[email protected]>Adds the `Interaction::id()` method to point to the underlying ID, similar to `Channel::id()`.
25a355f66362e2d4d96720e96b6b7446811a0417 authored over 3 years ago by Gryffon Bellish <[email protected]>Docs PR: https://github.com/discord/discord-api-docs/pull/3908
0c939f1b4c290faaf5a5f8500ec10557d3f152ec authored over 3 years ago by HTGAzureX1212 <[email protected]>072a69d065b1ce7650c08faff350f768774d5cc7 authored over 3 years ago by Cassandra McCarthy <[email protected]>
This adds the audit log reason trait to the modify current member endpoint.
Closes #1183.
95680e96e8366e34d1ca69ce0fc756220ea0febb authored over 3 years ago by Erk <[email protected]>
Links to the `CommandBuilder` where it may be useful.`api.twilight.rs`
links were used since th...
This removes unneeded caching and uses the [preinstalled Rust version] that is
included in GitH...
This PR adds the `channel_type` field for application commands.
Closes #1180.
**BREAKING C...
5312bba49d29ec84d8e17943f1f07621c1056567 authored over 3 years ago by baptiste0928 <[email protected]>This PR adds a builder for [`CallbackData`](https://docs.rs/twilight-model/0.6.2/twilight_model/...
98e97de44be85d4ff019976cfc80e451e9e3055f authored over 3 years ago by baptiste0928 <[email protected]>
`cache-inmemory`:
- Adds `ResourceType::STICKER`.
- Adds caching for stickers in the `GuildCre...
Removes `#[non_exhaustive]` from `bitflags` structs, as it has no
effect. Removes tests that si...
Adds a builder for the `Command` struct to the `util` crate. It can be
accessed by enabling the...
4491537ae18f0e2f21c226a069c8b7af90bd593b authored over 3 years ago by Cassandra McCarthy <[email protected]>
Adds `CommandOption::Number`, which is of the type `Number`, which wraps
a `f64`.
Co-authore...
ab73eebd05f369f8bb057a8413a755cbcede9e56 authored over 3 years ago by doge <[email protected]>Fixes some warnings I found while setting up VS Code.
a25bc5242b22a3c7ecd86ab835c801a9f96b84f6 authored over 3 years ago by Cassandra McCarthy <[email protected]>
This PR adds decompression support to `http`. It can be enabled with the
`decompression` featur...
Thread Support
Supports thread-related events.
d8217dc1277d1581ac2492df6cfa1eff8a1cf63a authored over 3 years ago by Cassandra McCarthy <[email protected]>
3 new channel types have been added: `GuildNewsThread`,
`GuildPublicThread`, and `GuildPrivateTh...
Thread Support
The http API version has been updated to `v9`.
9 new error codes have been adde...
2f1327a0a5ec31e7247c025a3b72ea7c7ada1415 authored over 3 years ago by Cassandra McCarthy <[email protected]>Thread Support
The gateway API version has been updated to `v9`. Six new events have
been added...
Thread Support
The cache now processes the `ThreadCreate`, `ThreadDelete`,
`ThreadListSync`, an...
This PR implements threads. It combines the following PRs: #805, #919, #995, #996, #997, #998, #...
fbb72aadd0b791263f86c70b11fb76b8b02b7046 authored over 3 years ago by Cassandra McCarthy <[email protected]>Changes
The example for `Snowflake::timestamp` has been updated to use version
0.3 of the `time...
Changes
This release contains internal refactors, there are no public facing
changes.
Additions
Add `Command::kind`, which is a `CommandType`, in order to support
Message and User a...