Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Twilight
Builds software that powers the biggest Discord bots
Collective -
Host: opensource -
https://opencollective.com/twilight
- Website: https://twilight.rs
- Code: https://github.com/twilight-rs/twilight
This request wasn't sending the actual JSON to Discord. This PR fixes that.
github.com/twilight-rs/twilight - 7865aabe405f528120738faa0129737b312348b3 authored over 3 years agoAdditions
`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...
github.com/twilight-rs/twilight - 5d4be823f3b55951ab123bd507bf49e8ff41dae0 authored over 3 years agoAdditions
`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...
github.com/twilight-rs/twilight - 73a8412e4cbff0386e9d4f4d99209f90c4bb60a6 authored over 3 years agoAdditions
Now supports role icons ([#1212] - [@7596ff]).
Changes
Since sticker descriptions c...
github.com/twilight-rs/twilight - fce5d6210698d13077ab15baf211b157c3526461 authored over 3 years ago
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.
github.com/twilight-rs/twilight - 82513bdb3ebad91650e5486186c652aaed64555f authored over 3 years agoFixes an error in deserializing subcommands when no options are present.
Co-authored-by: Cas...
github.com/twilight-rs/twilight - c49875dadbae2ec0eba309f5f132d9d5a119a97b authored over 3 years agoAdds functions and types that enable listening for components.
Closes #1179.
github.com/twilight-rs/twilight - b3ce8fe7873a8400f70906cb6d088f2fbc407eb5 authored over 3 years agoThis request wasn't sending the actual JSON to Discord. This PR fixes that.
github.com/twilight-rs/twilight - 9ee266f29e9118992e97691ecb01ba3710167b90 authored over 3 years agogithub.com/twilight-rs/twilight - b42688bef41312d6ad192c9b9f5843b04147c7cc authored over 3 years ago
Part of #1171.
github.com/twilight-rs/twilight - 01efb33663f7db762e33b4bfc37c5df6b6b5dfdc authored over 3 years agoAdd the `ephemeral` field to `Attachment`. Add static_assertions tests.
Closes #1169.
github.com/twilight-rs/twilight - 09b5512fb5ca4978080752e66c14e66f8d392b9d authored over 3 years agoCloses #1149.
github.com/twilight-rs/twilight - a0c588e940a58a8f18fc0b9098eee8c706fd0e32 authored over 3 years agogithub.com/twilight-rs/twilight - 99aca238099ecbce91040d7edd54172dc3e9ae2b authored over 3 years ago
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...
github.com/twilight-rs/twilight - f300a842594db9bcb243c2491ceb25cad4ec3c37 authored over 3 years ago
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.
github.com/twilight-rs/twilight - 4f3c510b5ad01f21cbf077befff8e60af3b60de1 authored over 3 years agoChanges
`PermissionCalculator::owner_id` is now an `Option<UserId>` ([#1039] -
[@vilgotf]).
Th...
github.com/twilight-rs/twilight - 264afe8aa54ccddb2bc60b64ec183d99798dd571 authored over 3 years ago
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...
github.com/twilight-rs/twilight - 16f3351d54f2435ae83753316122487698df34d0 authored over 3 years agoChanges
`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...
github.com/twilight-rs/twilight - 51b611371a2cb23e578b8a108cbf2508d09de427 authored over 3 years agoChanges
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...
github.com/twilight-rs/twilight - 326c5d4f5208583d3b4fadd03f0cdb161d3fcaef authored over 3 years agoChanges
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
`EmbedBuilder::timestamp` now...
github.com/twilight-rs/twilight - 0cb26cb13c24d1ce51624cf199eabd48c4bbecdc authored over 3 years agoChanges
The MSRV has been updated to 1.53 ([#1161] - [@7596ff]).
[@7596ff]: https://github.com...
github.com/twilight-rs/twilight - a2f13d53fb1cffa3139fe27e1ca2d3db327f9e86 authored over 3 years agoAdditions
Add an interface to create iterators over various resource types stored
by the cache ...
This was missed with rebasing #1064 and main.
github.com/twilight-rs/twilight - 3e95f49f756e951fe9b86038e97b8d83a0b1dd65 authored over 3 years ago
Use `haswell` instead of `native` due to some GitHub Actions runners not
supporting some `avx51...
Part of #1164.
github.com/twilight-rs/twilight - 18e28f2259b4b1f513374e49ae723a0c5bbd09a8 authored over 3 years ago
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...
github.com/twilight-rs/twilight - de319edc05ac8a2b08303c9f3901e02663a0d2b4 authored over 3 years agoRename `MANAGE_EMOJIS` to `MANAGE_EMOJIS_AND_STICKERS`.
github.com/twilight-rs/twilight - a7097df67369713f3a8fc0f5099123d8f8fff54d authored over 3 years agoRemove re-exports of `Application` request builders, which were deprecated in `0.6.4`.
github.com/twilight-rs/twilight - 279b42959e38ad3d1fb80625813e3b5377da6565 authored over 3 years agoRemove `Ratelimiter::get`, which was deprecated in `0.5.0`.
github.com/twilight-rs/twilight - 0fe6a371556ac341532664ea3a99c33301fa3a5f authored over 3 years agoRemove `Cluster::command_raw` and `Shard::command_raw`, which were deprecated in `0.3.0`.
github.com/twilight-rs/twilight - 9a489769257855cdbb455de613676bf563db0dfb authored over 3 years agoThis PR standardizes traits on various `Builder` types.
Removes the implementation of `Clone`...
github.com/twilight-rs/twilight - 33484fe5bc7e447145e2f221a41bff555b61ab3a authored over 3 years ago
BREAKING CHANGE: Reworks the `CommandDataOption` type, by resolving the
kind of option for the ...
This reverts commit 98ea9cb63f9c3f48dba8affde6196e4f12f14564.
github.com/twilight-rs/twilight - 1b5d7ae96b43955918867e3e894e5c58f75e603f authored over 3 years ago
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...
github.com/twilight-rs/twilight - a90ede4028b928650eb199a58c277706b9282bf2 authored over 3 years ago
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...
github.com/twilight-rs/twilight - e84067487c9c01122ab6a766067d9ac6ced2342a authored over 3 years ago
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...
github.com/twilight-rs/twilight - 18ea7103181f6368570e2e9f7471f7d951ea9ac5 authored over 3 years ago
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.
github.com/twilight-rs/twilight - 470d6b775b2c0745c3e7e450bd7947c010e998ba authored over 3 years ago
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...
github.com/twilight-rs/twilight - 81e36c11329cfcdcfee836756fb9689dba1b5591 authored over 3 years agogithub.com/twilight-rs/twilight - cc5c345e26220c9e04f7118732d7164e530d41b4 authored over 3 years ago
This reverts the workaround introduced in #785 since tokio 1.12 added back `try_recv()`.
github.com/twilight-rs/twilight - 09379e6fc0924318dba2a46de1099da7541fc44a authored over 3 years agoAdds the `Interaction::id()` method to point to the underlying ID, similar to `Channel::id()`.
github.com/twilight-rs/twilight - 25a355f66362e2d4d96720e96b6b7446811a0417 authored over 3 years agoDocs PR: https://github.com/discord/discord-api-docs/pull/3908
github.com/twilight-rs/twilight - 0c939f1b4c290faaf5a5f8500ec10557d3f152ec authored over 3 years agogithub.com/twilight-rs/twilight - 072a69d065b1ce7650c08faff350f768774d5cc7 authored over 3 years ago
This adds the audit log reason trait to the modify current member endpoint.
Closes #1183.
github.com/twilight-rs/twilight - 95680e96e8366e34d1ca69ce0fc756220ea0febb authored over 3 years ago
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...
github.com/twilight-rs/twilight - 5312bba49d29ec84d8e17943f1f07621c1056567 authored over 3 years agoThis PR adds a builder for [`CallbackData`](https://docs.rs/twilight-model/0.6.2/twilight_model/...
github.com/twilight-rs/twilight - 98e97de44be85d4ff019976cfc80e451e9e3055f authored over 3 years ago
`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...
github.com/twilight-rs/twilight - 4491537ae18f0e2f21c226a069c8b7af90bd593b authored over 3 years ago
Adds `CommandOption::Number`, which is of the type `Number`, which wraps
a `f64`.
Co-authore...
github.com/twilight-rs/twilight - ab73eebd05f369f8bb057a8413a755cbcede9e56 authored over 3 years agoFixes some warnings I found while setting up VS Code.
github.com/twilight-rs/twilight - a25bc5242b22a3c7ecd86ab835c801a9f96b84f6 authored over 3 years ago
This PR adds decompression support to `http`. It can be enabled with the
`decompression` featur...
Thread Support
Supports thread-related events.
github.com/twilight-rs/twilight - d8217dc1277d1581ac2492df6cfa1eff8a1cf63a authored over 3 years ago
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...
github.com/twilight-rs/twilight - 2f1327a0a5ec31e7247c025a3b72ea7c7ada1415 authored over 3 years agoThread 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, #...
github.com/twilight-rs/twilight - fbb72aadd0b791263f86c70b11fb76b8b02b7046 authored over 3 years agoChanges
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...