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
f30131d22946545764374340cb1058f81c20505d authored almost 3 years ago
See
<https://github.com/rust-unofficial/patterns/blob/main/anti_patterns/deny-warnings.md>
Separate out the validation logic for each type of component from the
`component` function to i...
This changes the value of `GATEWAY_INVALIDATE_SESSION` to a different
value than `GATEWAY_HELLO...
604baff7d674e3a3c84c6f10ae5014b3cbc9d47a authored almost 3 years ago
Validate the required fields on buttons. In particular, this adds two
new error variants: `Butt...
Closes #1512.
4a62e49df142d96156d9e593fcf91e9ceaac3117 authored almost 3 years ago
This PR alters language referring to channel data when the endpoint
returns guild data and adds...
These were not sorted alphabetically, now they are.
4d973a0c781a8b77480b1c5c754683cf38fe9b01 authored almost 3 years agoCloses #1562.
0f43181472843e6d67b136210c1039768372917a authored almost 3 years ago89d2c67c4603e95bcc287a24f7df109c31a6b596 authored almost 3 years ago
This PR limits the version of `value-trait`, a dependency of
`simd-json`, to `0.2.10`. The depe...
Followup to b9d7f123a90cf51d84aa8b2ab03ecab691599577 and
195751ede36acf937839616bfcba25cab5190ee0.
Presence Update Events are actually just the same as the Presence model,
so we can just make th...
This PR adds support for Guild Scheduled Event-related gateway events.
`EventTypeFlags` has bee...
Update the in-memory cache models with new fields from their
`twilight_model` equivalents. To e...
`InMemoryCache::cache_stickers` operates by first retrieving a mutable
reference to the set of ...
Per the Discord docs.
03b98c6adecabb1b2c61174934f7e42421432ca1 authored almost 3 years ago
Adds a simple validate method that calls
`twilight_validate::command::command`.
Part of #1187.
2e5c2264ca7c2306159c83640d6c73e3f93361f4 authored almost 3 years ago
This PR deprecates the `embed-builder` crate, and moves it to
`twilight-util`. It also updates ...
Closes #1570.
b47bc6d9324a82545d949838b3628d5b0e79c222 authored almost 3 years ago
These enums have no obvious order to them from the point of view of the
user.
Users knowledg...
acc0feb1d8ea9533f21943d66733a8f95900a354 authored almost 3 years ago06ff643fa83df7fb3353016f4b05b121c4b69c0b authored almost 3 years ago
Closes #1558.
789100bd705221a40c177915bbd6a6af63b63c91 authored almost 3 years agoCloses #1559.
2b7b8ef16acd9881378440a5d2265d27a53537e9 authored almost 3 years agoCloses #1564.
e9d61bfe2b2240c574ae959a520f5af12e138202 authored almost 3 years agoCloses #1561.
4bbce3fcbb4d1e93213a2a79dbc585f9c5c4e306 authored almost 3 years ago
This PR implements `Default` on `InteractionResponseData`. Since it is a
type that is only sent...
Closes #1563.
5b0f791ef8c283a483b81bc2d0aa60c045df20bf authored almost 3 years ago
This update contains no changes relevant for us, only support for
sending raw frames and adapta...
This PR allows for connecting to an API without HTTPS. However, if connecting to the Discord API...
ca99e08798c1490c197383173f2116f40b6f4f74 authored almost 3 years ago
The advertisement crate has been updated to bump development
dependencies.
Additions
Add validation for `TextInput`s ([#1300] - [@itohatweb], [@7596ff]):
- add `component...
Changes
Rename `CallbackDataBuilder` to `InteractionResponseDataBuilder`, and
add the methods `...
This major version bump of the Standby crate is done to match all of the
other crates in the eco...
Channels
The `Channel` type has been unified into a struct ([#1449] -
[@zeylahellyer], [@itohat...
Changes
Implementations of `Mention` for `CategoryChannel`, `Group`,
`GuildChannel`, `PrivateCh...
This major version bump of the Lavalink crate is done to match all of
the other crates in the ec...
This major version bump of the HTTP Ratelimiting crate is done to match
all of the other crates ...
InteractionClient
`InteractionClient` functions have been renamed with a consistent style
([#14...
Changes
`twilight-http` is now an optional feature, and enabled by default
([#1489] - [@Gelbpun...
Additions
Add `{ClusterBuilder, ShardBuilder}::ratelimit_payloads`, which if set
to false, enab...
This major version bump of the Embed Builder crate is done to match all
of the other crates in t...
Changes
Update cache accessor methods and internal logic to support the new
`Channel` type ([#1...
aedf25a1946f0d0ccaab2ca6822cfa53b33693cf authored almost 3 years ago
This PR adds support for the new Modal & TextInput.
Reference: https://github.com/discord/di...
cafde5f78b28eb61ba6ac23bf50266e52a3ad5a5 authored almost 3 years ago
This PR replaces all methods of setting `MessageFlags` (`ephemeral`,
`suppress_embeds`) with a ...
This PR does a few things.
First, for our received `PermissionOverwrite` type, remove the cus...
2a730dd5800aa6f246f5f44e259cf77560c1270a authored almost 3 years ago
Validation constants that refer to amounts of seconds or amounts of
users did not necessarily n...
99210bda09cb8940c11e08ca4a9772b91af91dbe authored almost 3 years ago
Changes
Support the new `Attachment` variant of `CommandOption` in validation
([#1537] - [@Erk-...
Additions
Add an `AttachmentBuilder` option to `CommandBuilder` ([#1545] -
[@Erk-]).
[#1545]: ...
ad59a1d8d1dee99f0b71ac83c95d0ddc3591dd76 authored almost 3 years agoAdditions
Support the `Attachment` command option type ([#1537] - [@Erk-]). This
includes a new...
d3c105fc12a9eeb7e876d086de016cae46039342 authored almost 3 years ago
Previously, the `AuditLogEventType` enum did not contain values for
guild scheduled events. Thi...
Add the attachment command builder that was missing in #1537.
Related to #1523.
Co-authore...
385922ba6d5cf7d067b98197646e3ce2b3950547 authored almost 3 years ago
Update from Discord gateway and HTTP API v9 to v10. Details about the
upgrade are detailed in D...
0846397ea77bc19509b3201db6f701306e70bd0d authored almost 3 years ago
Interaction::ApplicationCommandAutocomplete has had its inner type
renamed to its own type, in ...
This PR flattens `model::application::interaction::application_command`,
which makes it easier ...
820455f02accc4e294b1f41b696fbcc9d0b93b45 authored almost 3 years ago
This PR adds support for the new Attachment command option.
Closes #1523.
402fc3857f9ac6686afd22259f3d30f3805d931c authored almost 3 years ago
This PR uses a form when sending an interaction response that contains
attachments.
Co-autho...
11df21bb75b61c87694aeb9aa983577485463703 authored almost 3 years ago89f1668a424b86741f2adc6fa7161b9222fabec8 authored almost 3 years ago
Additions
Embed validation has two changes ([#1504] - [@laralove143]):
- Add `embed::chars`, an...
Changes
Update `dashmap` to `5.1`, which fixes unsoundness present in `5.0`
(which previously f...
Additions
Add new `Id<T>` implementations ([#1493] - [@dnaka91]):
- `From<Id<T>> for NonZeroU64...
Changes
Update `dashmap` to `5.1`, which fixes unsoundness present in `5.0`
(which previously f...
Additions
Support setting a cover image for scheduled events ([#1525] -
[@7596ff]).
Changes
U...
f55bf58374047dcdce9aeabd9ed4538d998dff21 authored almost 3 years agoFixes
The `compression` feature was broken, so "fix" it by making it do
nothing at all ([#1482]...
Additions
Add `NoOpQueue`, which does not ratelimit any requests ([#1490] -
[@Gelbpunkt]).
[#1...
145e49ee9cd407414842fc72f83b0ffcdd02107f authored almost 3 years agoChanges
Update `dashmap` to `5.1`, which fixes unsoundness present in `5.0`
(which previously f...
Ensure attachment filenames are composed of ASCII alphanumeric
characters, dots, dashes, or und...
Removes `AuditLogReasonError` and its `Type`. Move audit reason's
validation to the `validate` ...
These are always present when the voice state is in the cache.
2f9f6f289e1616ea3c56e930817328de093b4530 authored almost 3 years agoebaf95051a6b1043cc77e303f32c496e8805d73c authored almost 3 years ago
Adds `GuildScheduledEvent::image`. Adds methods to
`CreateGuildScheduledEvent`'s derivatives an...
9de79528014482ce452a6493ae38be7bb3797e57 authored almost 3 years ago
Closes #1515.
8375c5106762fa2ea2072eaabe0c0dc1aefae466 authored almost 3 years agoUpdate the code to reflect the behavior of the documentation.
Closes #1500.
c12c58fdd992402577a0ab014c1480371b6ae6ee authored almost 3 years agoFollowup to #1532.
72f8a1c1611e7fabd5573a40f422513aea94534a authored almost 3 years ago
Convert the `twilight_model::channel::Channel` type from an enum with
many sub-types to one sin...
96e77ae0d1c0175f18e1ebdef8a9f9fce99875d8 authored almost 3 years ago
Closes #1511.
a3b6231296c31aaec6478469b6398b81cb8ddc2e authored almost 3 years agoCloses #1531.
0842b1e3b8a732247528009a05bfcd52add4cc6a authored almost 3 years agoCloses #1469.
21a73aea1905efb759b8fed9ecc27f7f1a95c1e4 authored almost 3 years ago
Updates the `MessageFlags` bitflags to the current state of the Discord
docs, and document each...
This PR chooses an arbitrary size for the `Event` enum, and adds and
removes `Box`es around var...
Renames `Intents::GUILD_EMOJIS` to `GUILD_EMOJIS_AND_STICKERS`. Adds an
unused `GuildStickersUp...
This PR contains two changes.
First, move `InteractionResponse` (and `Attachment`) from `http...
7929cebebdc4c6be6a0d7b991839273110038087 authored almost 3 years ago3b45b07539cc4b8ef19c1901533ecc84ded29668 authored almost 3 years ago
The 5.0 release was yanked from crates.io due to critical issues (see
e.g. #1434), and a fixed ...
9dda81a32fdd2ee3c6f0b1fbd0ae45dd76539497 authored almost 3 years ago
428cafe5657cd7a3c61d7da5084eda7c617fd346 authored almost 3 years ago
5540daa5c654f28b4b780c5b36552228d9e91e3e authored almost 3 years ago
Via `Config::payload_ratelimiting`. This logically requires making
ratelimiting information on ...
This PR makes the `allowed_mentions` `attachments`, `components`,
`content`, `embeds`, `keep_at...
Renames some command and interaction functions to align with our style.
Sorts functions in the ...
6f324b24cd12f790ce29878b2e3022d3e0f3b42b authored almost 3 years ago
Change every `discord` to `Discord`, and reformat docs links in the
format `[Discord Docs/Page ...