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
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3.
- [Rel...
Add Dependabot monitoring of our GitHub Actions' versions, automating
bumps of their versions. ...
In HTTP Response errors display the error body instead of the basic
error.
Old format:
Re...
130a370826db0d8f1c1adb351925291b236266d9 authored over 2 years ago by Vilgot Fredenberg <[email protected]>
Add a getter on interactions to retrieve an immutable reference to their
inner token.
`COMMAND_PERMISSIONS_UPDATE` was accidentally duplicated, this PR fixes
that.
Removes the [Batch Edit Application Command Permissions], which has been
disabled with Permissi...
This PR implements command permissions v2. Changes include:
- add `default_member_permissions...
c573cd31e05092ac7aaf78805221b1d900b0ed0e authored over 2 years ago by baptiste0928 <[email protected]>
By fetching the gateway_url in `ShardBuilder::build` instead of in
`Shard::start`.
This also...
cf2f211c83a370870963c03f8cc0e57cb7f67296 authored over 2 years ago by Vilgot Fredenberg <[email protected]>
Adds more correct validation for usernames, preventing keywords or
symbols from being validated...
Replace auto-sharding behavior with an `Option` and refactor range
determination to the `Cluste...
Remove tuple structs in place of named struct fields in `ClusterBuilder`
and `ShardBuilder`.
Currently it is not possible to set the `fail_if_not_exists` property to
`false`. This changes ...
This PR changes `accent_color` to a u32 in order to be consistent with
`color`. See #383.
These methods erroring is almost always a programmer error, so to clean
up the API and ease the...
Also remove the `datetime::error` module to be consistent with other
error paths.
`model::da...
cb762adefe0fd9b6f215f9bdf668b9c6edf1630f authored over 2 years ago by Vilgot Fredenberg <[email protected]>aa04f962b86ef0f7ab6522772563322ab5cddf8d authored over 2 years ago by Cassandra McCarthy <[email protected]>
`dashmap` [v5.3.0] introduced a MSRV breaking change which makes the CI
fails ([example]). This...
Closes #1691.
47631e7c537e3105e1cc5a3a1d67f4cd64400a44 authored over 2 years ago by ITOH <[email protected]>
A cache configured with `message_cache_size(1)` could fit up to two
messages instead of one.
...
c2bd300a223d3712d011e3504faf1a98bd4e67eb authored over 2 years ago by Vilgot Fredenberg <[email protected]>Document that these two kinds also support modal submit interactions.
a15ee185eef30a69a090ee7212f7ea0fb86298d1 authored over 2 years ago by laralove <[email protected]>
`dashmap` [v5.3.0] introduced a MSRV breaking change which makes the CI
fails ([example]). This...
8eda59091261e3c77a369b099ced04bca90f1446 authored over 2 years ago by Cassandra McCarthy <[email protected]>
Also fix a test uncaught by CI due to doctests being skipped.
e290ed2cb93787c85d86675069f206f5ce0e39f4 authored over 2 years ago by Cassandra McCarthy <[email protected]>
Prominently show an example for chunking a guild's members by moving the
example from `Shard::c...
Prevent optional dependencies from being selected as features by using
the new `dep:` keyword i...
This adds the `MANAGE_EVENTS` permission flag (1 << 33).
Reference: https://discord.com/devel...
60b6ef75949c5fb5a8e176b684c0e14a7641288b authored over 2 years ago by ITOH <[email protected]>
Support pagination on the `GetGuildBans` request via three new builder
methods:
- `after`, t...
052148a01dbeb2e91995efb661a4bfa3aacce621 authored over 2 years ago by Zeyla Hellyer <[email protected]>
Add caveats to the documentation for `twilight_model::channel::Message`
about receiving the att...
This adds the `USE_EXTERNAL_STICKERS` permission flag (1 << 37).
Reference: https://discord.c...
e68e63c0a4c41f1b972f30422037b2ec49fe9c7c authored over 2 years ago by ITOH <[email protected]>
Simplify the `Routing::GetGuildScheduledEventUsers` Display
implementation by letting Discord d...
Add in additional details about creating pull requests, creating good
commit messages, our conv...
After updating our MSRV to 1.60, this dependency restriction is no
longer required.
This rev...
e898ef6ec374ac247af5f1d911fd90b5b1fb32af authored over 2 years ago by Cassandra McCarthy <[email protected]>Bump the MSRV from 1.57 to 1.60 in preparation for a new major version.
4ce308fdf309c0d74e4e6cca01168a425cbb3666 authored over 2 years ago by Zeyla Hellyer <[email protected]>84c01da0fad8a8d69368e025884af67a8e6ab1cc authored over 2 years ago by Cassandra McCarthy <[email protected]>
Another try at achieving the goals of #1637. Includes consistency fix of
relevant test.
Fix some typos in the stats docs that left underscores in place of where
there should be spaces.
Document the ability to retrieve statistics about the resources in the
cache in the crate-level...
Prefer to use `if let`s over `match`es on Options and Results. This is
generally an "idiomatic"...
72a7deb2d096608dcf0fd66c5257a2c3a17b3db8 authored over 2 years ago by Cassandra McCarthy <[email protected]>
Additions
Add more particular validation for `TextInput::label` ([#1633] - [@itohatweb]).
[#16...
eb3becc8cee95b01d0f4e011a307ab8ad5ca81d6 authored over 2 years ago by Cassandra McCarthy <[email protected]>Changes
Link to `tracing` in the README ([#1652] - [@zeylahellyer]).
[#1652]: https://github.c...
453672da951797b47f3855bfd9a16bef1d304802 authored over 2 years ago by Cassandra McCarthy <[email protected]>Additions
Add `#[repr(transparent)]` to `Id<T>` ([#1619] - [@PyroTechniac]).
Add quality-of-li...
64decbde187fb0ab15106449b1fd35eff41147b9 authored over 2 years ago by Cassandra McCarthy <[email protected]>Changes
Link to `tracing` in the README ([#1652] - [@zeylahellyer]).
Fixes
Include `Sec-WebSo...
af68dce9f386e6beecb9dc98fc67f512d8afd36a authored over 2 years ago by Cassandra McCarthy <[email protected]>Additions
Add `CreateStageInstance::send_start_notification` ([#1653] -
[@zeylahellyer]).
Add ...
7c3d8ed576f30b315b80c09c3513e9b41ca58cd7 authored over 2 years ago by Cassandra McCarthy <[email protected]>Changes
Link to `tracing` in the README ([#1652] - [@zeylahellyer]).
[#1652]: https://github.c...
bfb0e82ea8ec4df4787a5319f9b2a9ef41ae0608 authored over 2 years ago by Cassandra McCarthy <[email protected]>Changes
Link to `tracing` in the README ([#1652] - [@zeylahellyer]).
[#1652]: https://github.c...
315ddb5e67226dd91cf49730ba918b15556d8293 authored over 2 years ago by Cassandra McCarthy <[email protected]>Changes
Add a note that enabling `ResourceType::GUILD` is required for certain
permission opera...
As a stopgap before future work on Forum channels, add their channel
type in order to stop dese...
4d6ccd43a0d2c559c3bb1dfe24b2aa3a4d4b0ae4 authored over 2 years ago by Cassandra McCarthy <[email protected]>
Remove the `twilight-command-parser` library from source as it has been
deprecated since 0.9.0 ...
Add the missing header due to a regression in `tokio-tungstenite`.
Closes #1647.
e5fba58564b8033c261a17b7c9b87bf966b6a8e3 authored over 2 years ago by Cassandra McCarthy <[email protected]>* fix(cache): rework `parent_overwrites` (#1645)
In the permission calculator extension, the ...
a7c3a24d3e6be7c5979dd15aca9c0174e8466e35 authored over 2 years ago by Cassandra McCarthy <[email protected]>
This internal function has an odd name, rename it and refactor it into a
method.
ff58bfd6ac01d4d5c3aa8f1963a595d8a27040fd authored over 2 years ago by Cassandra McCarthy <[email protected]>
Rename `twilight_http::response::StatusCode::raw` to `get`, which aligns
with other newtype-lik...
After using custom keys for a while it's been decided that more often
than not the cache is mis...
64a54996439665771b54ab138a0d3df0625b000e authored almost 3 years ago by Cassandra McCarthy <[email protected]>
The `twilight_model::oauth::Application::owner` field is now optional
according to Discord's do...
Add the following new fields to the `Application` model:
- `custom_install_url`
- `install_p...
## Additions
### `Interaction`:
- `fn application_id(&self) -> Id<ApplicationMarker>`
- `fn...
`twilight_model::oauth::CurrentApplicationInfo` isn't only a return type
for `twilight_http`'s ...
Add missing links to the `tracing` crate in crate-level documentation
for `gateway-queue`, `htt...
Remove the remaining application `summary` fields that were missed in
PR #1540.
Discord Docs...
e2ee27fc54a04a1a4ae0f59eeafb56a124367e9f authored almost 3 years ago by Zeyla Hellyer <[email protected]>
Remove support for nickname mentions due to Discord removing them from
documentation:
<https...
5175c0a56cf84434e4108f5bfa38dd016a32ef11 authored almost 3 years ago by Zeyla Hellyer <[email protected]>On March 10th Discord removed store channels:
<https://support-dev.discord.com/hc/en-us/artic...
032edc5567f1b91f6d12076fff3271f6f644a444 authored almost 3 years ago by ITOH <[email protected]>2198c90bc9fd7be2a9fef0842852be868be623ea authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Add a notice to the `UpdateGuild::features` method that adding or
removing the "COMMUNITY" feat...
Add a new `premium_subscription_count` to invite guilds, denoting the
number of premium subscri...
Slightly tweak the `UserFlags::HYPESQUAD` flag's documentation to say
"HypeSquad events member"...
Add the new "Guild Directory" channel type, implemented as
`ChannelType::GuildDirectory` with a...
Add the ability to notify everyone when a stage instance starts when
creating stage instances.
...
Due to a bug, enabling this resource type is required at the moment.
4a59b575a1cdd0dc5377d8367c1555917ee76d86 authored almost 3 years ago by laralove <[email protected]>1b416c536c362c73d8e48c44acb1449aa4f7b3ca authored almost 3 years ago by Cassandra McCarthy <[email protected]>
These were missed in previous refactoring, these are private types.
e642b77704a7ad6453f5c5e9a903d0f55da08e26 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Previously, `Attachment` structs sent inside `InteractionResponseData`
would both serialize the...
In order to prevent a mix-up with other components labels this changes
the name of every compon...
For changes related to images Discord sends a valid image hash therefore
we should use the `Ima...
97fc3c3722f2d0b759f094a998e2cddcf099d67a authored almost 3 years ago by Cassandra McCarthy <[email protected]>
A text input's label has a min length of 1 (since it's a required
property) and a max length of...
This adds the `image_hash` audit log change key which is being used when
a guild scheduled even...
Marker structs cannot be constructed outside of Twilight, so instead
manually implement Clone a...
71c4e71747dbb5d4c8f8406554a3740e54d53b4c authored almost 3 years ago by Cassandra McCarthy <[email protected]>
This replaces `cargo test` with `nextest`.
4cd3056b2b41bcced66a314383989813ae3cf1dd authored almost 3 years ago by Cassandra McCarthy <[email protected]>
This is to ensure layout compatibility with `NonZeroU64` (and by
extension `u64`).
This adds unique parts to the matrix cache keys, which are now keyed by
ref name, and in the ca...
For the sake of consistency this changes every Image Data to be provided through a slice.
a70953187e6d6c75680834df0b1470acb317fba1 authored almost 3 years ago by ITOH <[email protected]>These fields are undocumented.
f674cd711848f26ffa5df781ed99abfc1d20c9f9 authored almost 3 years ago by Vilgot Fredenberg <[email protected]>7110ba71e6f7b52d6664a465f25af7046092aa5e authored almost 3 years ago by Cassandra McCarthy <[email protected]>
Additions
Add `builder::embed` ([#1539] - [@7596ff], [@vilgotf]).
Add `CommandBuilder::validat...
c40a568b39d71026f8b7a363050b31493493c36e authored almost 3 years ago by Cassandra McCarthy <[email protected]>Additions
Validate the maximum hex color for embeds ([#1539] - [@7596ff],
[@vilgotf]).
Add val...
0595617a6488a4e0ff4c732ecb7f084bf115c992 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add `StageInstance::guild_scheduled_event_id` ([#1567] - [@itohatweb]).
Document `Ap...
3f177f1f5dc3bda799a8fcf833586c2947a03c6d authored almost 3 years ago by Cassandra McCarthy <[email protected]>Changes
`tokio-tungstenite` has been updated to `0.17` ([#1551] - [@Gelbpunkt]).
Fixes
`value...
42eb4faadb0c5cf3cffb7bffad646825ff7267b6 authored almost 3 years ago by Cassandra McCarthy <[email protected]>
The Embed Builder crate has been deprecated in favor of
[`twilight_util::builder::embed`] ([#153...
Additions
Cached field initializers are now abstracted into a function, which
exhaustively dest...
Changes
`tokio-tungstenite` has been updated to `0.17` ([#1551] - [@Gelbpunkt]).
[#1551]: http...
b6ee89d8620e7d733ee08215223f136aa8ff163b authored almost 3 years ago by Cassandra McCarthy <[email protected]>Additions
Support compilation without a TLS backend ([#1392] - [@vilgotf],
[@7596ff]). Discord...
Adds a surrounding `ActionRow`.
c3b36157d89b89277642e14effa14f0fc83b3dff authored almost 3 years ago by ITOH <[email protected]>
This adds the `guild_locale`, `locale` and `message` property to the
`ModalSubmitInteraction` s...
Always require `twilight-validate` when using the `builder` feature.
9457312d323565123a1ccc3365916953b4145229 authored almost 3 years ago by Cassandra McCarthy <[email protected]>Fixes a typo.
Closes #1611.
be92e3ac173add514e99d4e7106060b4df0b30da authored almost 3 years ago by ocean <[email protected]>