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
Changes
`CommandBuilder::{application_id, id}` have been removed since they are
not sent to Dis...
Changes
The default value for `ShardBuilder::large_threshold` has been corrected
to `50` ([#125...
Changes
`tracing` is now an optional feature, and enabled by default ([#1203] -
[@Gelbpunkt]).
...
Additions
Add a feature, `trust-dns`, which uses `hyper-trust-dns` to use a fully
async and fea...
Initial release ([#1191] - [@Gelbpunkt]). `http` now internally depends
on this crate to ratelim...
Changes
`EmbedAuthorBuilder` now properly requires the `name` field ([#1290] -
[@itohatweb]).
...
98072dc52aec4a9c7fa30036c3820ef196615725 authored about 3 years ago by Cassandra McCarthy <[email protected]>Changes
`tracing` is now an optional feature, and enabled by default ([#1203] -
[@Gelbpunkt]).
...
Fixes an issue introduced in #1310: Now that the `HttpConnector` is
being created manually, the...
adb698218f2e06dd80fa27e40baf4d52f373fd10 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Use the `time` crate to parse timestamps provided by the API.
This fixes an issue where leap ...
023428a723c47942abb9f33fb940e6251e870dde authored about 3 years ago by Cassandra McCarthy <[email protected]>
This adds back [trust-dns] support to twilight-http. It used to be
possible to use this via req...
0b0a042093a870eacea5fd2bca5ad3aefc19ee43 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes
Mark some `old` fields as `Option`s to fix a case where they weren't present
([#1284] - [...
Fixes
Support deserializing negative track vales in `PlaylistInfo` as `None`
([#1304] - [@james...
Additions
`DeleteWebhookMessage`, `UpdateWebhookMessage`, and `GetWebhookMessage`
now support t...
This is breaking, however the previous commit has not been released.
Hotfix followup to #1286.
03fc39a25e6da3e02685c39cd5052eb7967fd46f authored about 3 years ago by Cassandra McCarthy <[email protected]>
`ExecuteWebhook` was sending the `thread_id` parameter in the JSON body
instead of in the path....
fdd7a5978c680f9ae23ee6fd684da6cee121f4d2 authored about 3 years ago by Cassandra McCarthy <[email protected]>
f6198aa722af018c226bb92da2c1f5b6d556a997 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Changes:
* All examples now have the same order of dependencies and same feature notation style...
This PR adds the following error codes to the ErrorCode enum:
`30038`: Maximum number of unco...
1f5015701f49e5bba1bd321a9b9613578a6b317a authored about 3 years ago by ITOH <[email protected]>
The `avatar_url` and `username` fields are ignored by Discord when
creating an interaction foll...
This makes `tracing` an optional dependency in all crates it previously
was required in. This d...
This lines up our implementation with Discord's and simplifies our
`serde` implementation.
B...
2a3e0db5e92cdceb82fa2110fed6f8ddb7e315c8 authored about 3 years ago by Vilgot Fredenberg <[email protected]>
`EmbedThumbnail:url`, `EmbedImage::url` and `EmbedAuthor::name` are now
required fields.
Clo...
457e48b74fca2cb283b7099c9073262ea8c5d601 authored about 3 years ago by ITOH <[email protected]>
Updates `tokio-tungstenite` to `0.16` from `0.14`, which now supports
`rustls` `0.20` and allow...
c729847bab7eba35201da1561aede641c2630e6f authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes #1303.
643becbb1e092dd5418b4fd09a60f0411c7dab48 authored about 3 years ago by James Liu <[email protected]>
In role create audit log events, and possibly channel create as well,
the `old_value` may be a ...
4d8b07a8145533e3464f2b4b4d8c8d3b17d603b6 authored about 3 years ago by Cassandra McCarthy <[email protected]>
This PR does two things:
- Moves all actions into one file
- Requires a passing MSRV to run th...
The previous implementation invalidated its cache every day (nightly)
and it used the pre-minve...
Closes #1204.
025d784dd04c37becb91a35a473aec8a030f4c13 authored about 3 years ago by Cassandra McCarthy <[email protected]>02e37aea7b91e15f023bb9248dd3209c2652dcd2 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Additions
Add autocomplete support to the `CommandBuilder` ([#1228] - [@vilgotf]).
Add `max_va...
78f853a63184f81e0b9eb449d914dae48e6bdac0 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add the `UserOrId::id` function ([#1219] - [@vilgotf]).
Support `ApplicationCommand`...
a18a01d7f584c3e9e6716ea9c1c50355b3b4c1c9 authored about 3 years ago by Cassandra McCarthy <[email protected]>Fixes
Allow the crate to compile with `default-features = false` set ([#1248] -
[@7596ff]).
[#...
fc2feb72e8fe027b7c7d5bfa1f635c1b068c28e8 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additions
Add `Client::update_current_member`, and deprecate
`Client::update_current_user_nick`...
Additions
Add `CachedMember::avatar` ([#1252] - [@7596ff]).
[#1252]: https://github.com/twilig...
ddc68d12fe2c0d6d766718a8c210c0c8285500f7 authored about 3 years ago by Cassandra McCarthy <[email protected]>626404b0ea44db5a2895f95eabf8b510614e54b6 authored about 3 years ago by Cassandra McCarthy <[email protected]>
This brings support for multiple attachments up to date with
https://github.com/discord/discord...
15323d2fccc5aec721320441ad0accc5adeb2333 authored about 3 years ago by Cassandra McCarthy <[email protected]>
042ac9ed4e2ce0d681e78c6a6fad705fca4c4e6b authored about 3 years ago by Cassandra McCarthy <[email protected]>
64d45e42e135d026f775e5ce541c93cc1ad34735 authored about 3 years ago by Cassandra McCarthy <[email protected]>
1ff841befa1d365ce98dbdac00e3a61a9a7da34e authored about 3 years ago by Cassandra McCarthy <[email protected]>
c843bc4207cbe6d891cc3ed4937e56ff00e27a88 authored about 3 years ago by Cassandra McCarthy <[email protected]>
This PR deprecates the avatar_url & username functions from the
CreateFollowupMessage struct.
...
This injects the guild ID into the fields member and presence for
THREAD_MEMBERS_UPDATE.
Clo...
c98e01904310f9251d294c8a123b04ce5eacef55 authored about 3 years ago by Erk <[email protected]>
Adds `UpdateCurrentMember`, which allows updating the current member in
a guild. Only supports ...
`PartialEq` should be implemented for the Owned variants.
53a0867b8cbfcea8284e4c85fa5e32b132875ce9 authored about 3 years ago by Vilgot Fredenberg <[email protected]>Followup to #1220.
06ea427d5d60d30b484325f0837ae16955999684 authored about 3 years ago by Vilgot Fredenberg <[email protected]>
This should fix a lot of issues when responding to lots of interactions,
because currently they...
Expose the results of processing an event by keeping a counter of what
results we get from byst...
8f496cdeb936116aaac74d9b21cb9cbc81b8515b authored about 3 years ago by Cassandra McCarthy <[email protected]>
4f6311192fbdb9484f5e3f941e2b98be6c840a16 authored about 3 years ago by Gryffon Bellish <[email protected]>
Moved out of #1228.
09ca9ca35e844a0e552fae39639948cc7c9e9137 authored about 3 years ago by Vilgot Fredenberg <[email protected]>
This adds the following structs:
* `application::callback::Autocomplete`
The following metho...
c2f395cc508dab699c2007177eb8d70f9252a0db authored about 3 years ago by Vilgot Fredenberg <[email protected]>66dfdebfa9577e4a51572c152cd8b61e7889e015 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Will catch if newer features are unintentionally used without a
dependency bump. Note that `mo...
Co-authored-by: Cassandra McCarthy <[email protected]>
b879b4fd5b4c90668847b8fe7c435df98d471965 authored about 3 years ago by Forest Anderson <[email protected]>Adds methods copied from `UpdateThread` to set the value optionally.
Fixes #1210.
801988545aa2f8a4b3e275383b7b2ea949975800 authored about 3 years ago by Cassandra McCarthy <[email protected]>Continued from #1268.
14a084eb3403e0237cdd552176bd1a1a28068138 authored about 3 years ago by Cassandra McCarthy <[email protected]>Remove the `http` prelude.
Continued from #1257 and #1265.
81e52b19177a7a27086d52a5720c470c11f8908b authored about 3 years ago by Cassandra McCarthy <[email protected]>9d6eff950ef3d5aad0a83ee89dffa5bafa395488 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Sorts sync-readme check list, adds missing checks for cache-inmemory and
gateway-queue, and act...
Fixes #1231.
Conflicts with #1162.
de3b519cffd0302c68dd7b08a32197c683d5e76b authored about 3 years ago by Cassandra McCarthy <[email protected]>This field is not optional: <https://discord.com/developers/docs/resources/guild#guild-member-ob...
48a74e113fb252d23739bef44cc5a05b80ff2599 authored about 3 years ago by Vilgot Fredenberg <[email protected]>006424b8c64567b447a2a2b035137be28890e7f2 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes #1236.
6eecb2f3cf7063f7b64c95d854b622c501d6b347 authored about 3 years ago by Cassandra McCarthy <[email protected]>Additionally documents the entire struct.
Fixes #1239.
1a2e92413e49548f483ae3ceeeaf64e24ebf516c authored about 3 years ago by Cassandra McCarthy <[email protected]>Fixes #1238.
59540b759ddc9b3ca5a2e8d6e7bd887e977f7af4 authored about 3 years ago by Cassandra McCarthy <[email protected]>Fixes #1237.
5fa169f01f1cab5f45660f3be71aeb22fdb233b5 authored about 3 years ago by Cassandra McCarthy <[email protected]>
These options are not meant to be sent to Discord so there's no need to
customize them.
Also...
a90e86d2f119d967587b37ad3048f99dc1a5cfcf authored about 3 years ago by Vilgot Fredenberg <[email protected]>66b4ecbfc3e6628a9d06b366250f4a3e472fd5bc authored about 3 years ago by Cassandra McCarthy <[email protected]>
#1257 accidentally caused a breaking change. This reverts it to the
extent where it is no longe...
1f77d801247904207d7cf4308ffdd4c7eed8c21a authored about 3 years ago by Cassandra McCarthy <[email protected]>
Because the JSON doubles sent by discord sometimes seems to be without
trailing decimals (eg `5...
Adds the contents of `twilight-rs/examples` to the new examples
directory.
If you are having...
4c6c086b5d9d1f271e9963bcd1b23c5fa8242547 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Adds a check for code coverage, which reports the statistic to
codecov.io, and comments on PRs ...
98bf26ca646f4ee5ad7eef9faebe427e12b9b3e3 authored about 3 years ago by Cassandra McCarthy <[email protected]>
Adds the `avatar` field to `Member`, `PartialMember`, and
`MemberUpdate`.
Part of #1178.
45d75dbd8ebbc8a11fe16f3cc87b6b290b02c93f authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes a misunderstanding of the docs on my part that didn't actually
include these fields in th...
Aligns our serialization with Discord's docs.
1cd2d2672953cffea9962c144ac70f29f5612ac9 authored about 3 years ago by Vilgot Fredenberg <[email protected]>Doc comment is copied from Discord's docs.
Closes #1173.
a2960ad9eb96e76120cc7d37f47b585e0651fbcd authored about 3 years ago by Vilgot Fredenberg <[email protected]>4b2442e59a22e6ecf3818eaf5c8390b908b4ee6d authored about 3 years ago by Cassandra McCarthy <[email protected]>
Promotes `http` to a required dependency. Changes the feature tag on the
`http` module definiti...
Updates the old action to properly exclude the new example location.
90a0050f57b97c71933c3524238e2fa13778689a authored about 3 years ago by Cassandra McCarthy <[email protected]>This reverts commit 43d2d46d5ac96b8910a15fbf292618a6fd6d843e.
e14ab04750b29e826f57f96d00aadc729c8f1704 authored about 3 years ago by Cassandra McCarthy <[email protected]>
This PR adds `min_value` and `max_value` to the `NUMBER` and `INTEGER`
slash command options. T...
Combines testing and deploying docs into one action.
43d2d46d5ac96b8910a15fbf292618a6fd6d843e authored about 3 years ago by Gryffon Bellish <[email protected]>
This moves all of our example crates to a central location in the
repository, and adds a line t...
4981e3f388e7776470d3f53ab057f6a0d07b2c4d authored about 3 years ago by Cassandra McCarthy <[email protected]>
Refactors a few internal functions into a convenience function.
7982e4a061c184c8e93d9b0b92a6f972233d20a5 authored about 3 years ago by Vilgot Fredenberg <[email protected]>Taken from #1191.
Matches the Discord API Docs on this matter (https://discord.com/developers...
40eab445d8e47cd2d7e4b8f7dd1fee16d2072b8a authored about 3 years ago by Jens Reidel <[email protected]>d39444331dd169d2f4ab855fea186ac2f24c040b authored about 3 years ago by Cassandra McCarthy <[email protected]>
Also adds a `CommandVersionId` identifier.
9aa74e074741c4ae46e6625e83af050a3db076d0 authored about 3 years ago by Vilgot Fredenberg <[email protected]>The old implementation contained unnecessary code duplication and clones.
15b7911b1033fe1b6fbb3544fd375987fa77daa5 authored about 3 years ago by Vilgot Fredenberg <[email protected]>304d80ccdfa31160f055d0e17a57da43b90589bb authored about 3 years ago by Cassandra McCarthy <[email protected]>
Fixes an error in deserializing subcommands when no options are present.
Co-authored-by: Cas...
e4839572816997cf68744c59b8397c50077b5c11 authored about 3 years ago by Vilgot Fredenberg <[email protected]>Adds functions and types that enable listening for components.
Closes #1179.
591434222a4fa06497aabcb78242307fa376ce7d authored about 3 years ago by Gryffon Bellish <[email protected]>