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
* Add method to get the channels in a guild.
* add methods to fetch the other sets in the cac...
943de56f6ac2b67187db5ae1faa40b8c9f57b5f9 authored about 4 years ago by Erk <[email protected]>Added
- Add `AuditLogReason` trait, deprecate existing `reason` request
methods ([#522] - [@Erk...
Added
- Add `Cluster::shards` method to retrieve all shards of a cluster ([#521] - [@dvtkrlbs])...
653615a498262b6e212ffe09c72d29b5c5e3748f authored about 4 years ago by Vivian Hellyer <[email protected]>Handle invalid timestamp errors in responses when sending embeds.
f93425902ea7473cf7c7db5744c6c5e1260ed590 authored about 4 years ago by Colin Adler <[email protected]>
Add an `AuditLogReason` trait and implement it for all requests that
are auditable with reasons...
Add a `Cluster::shards` method which returns a vector of all shards
managed by the cluster.
Fixes
- Fix typo in documentation link ([#523] - [@nickelc])
[@nickelc]: https://github.com/ni...
44c6c8da70e224d5cc18c3e70bf772b310fde843 authored about 4 years ago by Vivian Hellyer <[email protected]>Added
- Support deserializing user discriminators from integers ([#526] - [@vivian])
[@vivian]...
f436c8014f0b2db1cfd3b2b5b0b0431c8296950b authored about 4 years ago by Vivian Hellyer <[email protected]>
For the `CurrentUser`, `UserProfile`, and `User` model types, support
deserializing discriminat...
0ccd98ef62b0111987bdccd50045a04b60b701da authored over 4 years ago by nickelc <[email protected]>
Fixes
- Correct type of `http::PlaylistInfo::selected_track` ([#518] - [@MOZGIII])
[@MOZGIII]:...
29e02bd49a6e1978848d82d9eca0cec012f91b0a authored over 4 years ago by Vivian Hellyer <[email protected]>Signed-off-by: Vivian Hellyer <[email protected]>
135362a347437a38a875dfffa34eeb1796bd5b2a authored over 4 years ago by Vivian Hellyer <[email protected]>Fixes
- Take `CreateReactionType` in ([#520] - [@7596ff])
- Set `content-length` header for `P...
Add all of the crates as development dependencies for easy linking on
crates.io.
Signed-off-...
73cb812bc2c28d8d54f3bdae67bb978bb3731e00 authored over 4 years ago by Vivian <[email protected]>http/client/reactions: take createreactiontype (#520)
9413014ed257bf5ecd1452d260a4c6d914cf5694 authored over 4 years ago by Cassandra McCarthy <[email protected]>
Set the `content-length` header when sending requests with `PATCH`,
`POST`, or `PUT` verbs. Thi...
829a15cf92f14369bf8e1092efeb0a8725f42a15 authored over 4 years ago by MOZGIII <[email protected]>
Added
- Add mention parsing functionality ([#513] - [@vivian])
[@vivian]: https://github.com/v...
44546e2c6731aa35172e9320d56fb740bcd08583 authored over 4 years ago by Vivian Hellyer <[email protected]>
Update the documentation link to accurately reflect the current link and
update the description...
* mention: add parsing functionality
Add parsing functionality to the `twilight-mention` crat...
9d5d865c0fe36271cf1150ad2f1b7d2a747b8456 authored over 4 years ago by Vivian <[email protected]>Fixes
- Fix links to first party crates ([#498] - [@vivian])
[@vivian]: https://github.com/viv...
f6d93c4ff826ebf531f7dcb8acfce79304702f06 authored over 4 years ago by Vivian Hellyer <[email protected]>1472dba0423ea1f5fddf1ec64de4f447e2213231 authored over 4 years ago by nickelc <[email protected]>
Signed-off-by: Vivian Hellyer <[email protected]>
a4acd4f920429a040688b8670cdd6b0b3237ad53 authored over 4 years ago by Vivian Hellyer <[email protected]>Enhancements
- Add doubling delay between reconnect attempts ([#512] - [@vivian])
[@vivian]: h...
43c27f0128b8dad806172ee380024a6719f72190 authored over 4 years ago by Vivian Hellyer <[email protected]>
Add a multiplying delay when performing a reconnect on a shard. The
reconnect will first wait on...
Only set the content headers when there's a body to send with the
request. This resolves 400 BA...
While publishing crates the `publish` key was accidentally set to
`true`.
Signed-off-by: Vivian...
094017fe3a106e429e4501c556bd0d168c5a36f7 authored over 4 years ago by Vivian Hellyer <[email protected]>Signed-off-by: Vivian Hellyer <[email protected]>
1203772e41f57ac2db5087b01b52cdf7762bb7d8 authored over 4 years ago by Vivian Hellyer <[email protected]>Added
- Implement `serde_mappable_seq::Key` for UserOrId ([#509] - [@coadler])
Fixed
- Fix co...
5e37f9ca5a51b25876555211b1929acfc8216f7a authored over 4 years ago by Vivian Hellyer <[email protected]>Added
- Impl Eq, PartialEq, From for RequestReactionType ([#507] - [@7596ff])
- Support `/oauth...
Changelog:
Fixes
- Fix benchmark compilation ([#511] - [@Erk-])
[@Erk-]: https://github.com/E...
386fdc394a8b4be1c5f8c7d68812ddea1f834d9b authored over 4 years ago by Vivian Hellyer <[email protected]>aa321ab41c02b44b6351525550ec6fcc015d6a02 authored over 4 years ago by AEnterprise <[email protected]>
* Fix compilation of command bench
* actually fix it
* fix compilation
* remove trailin...
779a07737436f981a29345b5592503df7104b9ef authored over 4 years ago by Erk <[email protected]>
Add additional tests for types in the lavalink crate via the
`static-assertions`. Many types we...
Add tests for all public types in the gateway crate via the
`static-assertions` crate.
Signe...
904a812fab0e9e4ddc59e8ac237141dc862b4a8a authored over 4 years ago by Vivian <[email protected]>5078f594c9f29d41ae0e6aa1ab9d15df29d49d2a authored over 4 years ago by Colin Adler <[email protected]>
Document the "Competing" activity type with value 5.
Documentation:
<https://github.com/discord...
4e046a54853d44dfd6a8ef454306a37e816ea59b authored over 4 years ago by Cassandra McCarthy <[email protected]>
Changelog:
Fixes
- Handle webhooks with tokens in path parsing ([#499] - [@vivian])
[@v...
9faf53db2701dd0717067258c8d4a937202cf755 authored over 4 years ago by Vivian <[email protected]>Changelog:
Fixes
- Handle webhooks with tokens in path parsing ([#495] - [@AEnterprise])
...
Add tests for all types in the command parser crate via the
`static-assertions` crate.
Signe...
a41550a03782b2b60bbab4150867a51ff9809e59 authored over 4 years ago by Vivian <[email protected]>
In the model's `id` and `oauth::id` crates support the deserialization
of IDs from integers. Th...
Fix the links to the first party crates (embed builder, lavalink,
mention) in the advertisement...
Add the path for the benchmark to the model crate's Cargo.toml bench
entries.
If this isn't ...
2155cca858bfff18e77a077a0349fbbc12438ef1 authored over 4 years ago by Vivian <[email protected]>
Add the paths for the benchmarks to the command parser's `Cargo.toml`
bench entries.
If this...
0c4b978c1de8f44cbe3b4fc9b8df0c4f1073e7e7 authored over 4 years ago by Vivian <[email protected]>* correctly match webhook route with token for the proxy
* combine arms
84f32ec100166f338ecae30b09a5d2cb831792cc authored over 4 years ago by AEnterprise <[email protected]>Prepare version 0.1 for publishing on crates.io.
Closes #459.
Signed-off-by: Vivian Hellye...
8d241283ef8f4e33dc5dd40515458997a17846e8 authored over 4 years ago by Vivian <[email protected]>
Make the cluster and shard builders' `intents` methods take an `Intents`
instead of an `Option<...
Deserialize the ready event only once. Ready events were being specially
handled and deserializ...
* add ReactionType to http module without redundant animated property
* fix formatting
* move ...
9da141c2bb139a0778784e7f3b301734262821ef authored over 4 years ago by AEnterprise <[email protected]>* Change default zlib backend to be system zlib.
This change was made to make the library not n...
d760f9b2d0d2162b3ed61cd96bf34d1a71c2c03d authored over 4 years ago by Erk <[email protected]>* cache/in-memory: document crate, design
Document the crate in a style similar to that of ot...
862b04bd8c71b6712b3d11fcdbcf3be61b4e647c authored over 4 years ago by Vivian <[email protected]>
Fill out the Cargo.toml files for each crate, adding in descriptions,
categories, and linking t...
Turn the "main crate" - `twilight` - into an advertisement crate that
documents the existence a...
Sprinkle around `#[non_exhaustive]`, especially on things like
validation error enums. Some typ...
* refactor command-parser config
Signed-off-by: Erk <[email protected]>
* Appl...
77cd4e52b64f154eb6bf3a2e5c591f546968e452 authored over 4 years ago by Erk <[email protected]>1ee79e95a4dffa2ef608364886a018f06b6425e6 authored over 4 years ago by Erk <[email protected]>
* Remove Copy and Ordering derives from ShardScheme
Copy: We want to be able to add non-copy ...
e50e6f0a8055f27a3c34616c7aec40b2ce681033 authored over 4 years ago by Erk <[email protected]>* Make DeleteChannelPermission work the same way as the Update
Signed-off-by: Valdemar Erk <v...
e6b5583cde5218ccdb99a0c7fc4fb5df447e0627 authored over 4 years ago by Erk <[email protected]>* use zlib-ng as default
This changeset may look a bit strange in that the zlib-ng-compat
fe...
* Downgrade resume log from warn to debug
* Downgrade close code and reconnects to info
d60daa286c1ae437d44554b9fb3eb1e40baf5117 authored over 4 years ago by Jens Reidel <[email protected]>* Use UserId for GetUser
Signed-off-by: Valdemar Erk <[email protected]>
* use userid's disp...
a23d7a01678f94c93fa6b5169df922d9fa2bf3fa authored over 4 years ago by Erk <[email protected]>* Add shard.raw_command
* Run cargo fmt
* apply suggestions
23d8dcec249a6abc4128558fd062774c2dd56214 authored over 4 years ago by Jens Reidel <[email protected]>f972be12e53ac44d87e18bc7461a9f6c35a8bb00 authored over 4 years ago by Jens Reidel <[email protected]>
ad30b2ff9990da565af0d880b5991c888c90b36b authored over 4 years ago by Jens Reidel <[email protected]>
Mark the cluster's shard scheme as non-exhaustive. This change is so we
can add more shard sche...
Rename `twilight_model::gateway::GatewayIntents` to just `Intents`. It's
not necessary to repea...
In the gateway's "metrics" example, reduce the features of dependencies,
mainly `tracing-log` a...
Change the tracing line emitting received JSON from a DEBUG to a TRACE.
Signed-off-by: Vivian...
5820dc44d4141e79f5ba6836079531942bc600eb authored over 4 years ago by Vivian <[email protected]>
When deserializing a map of presences from a sequence of presences,
default the guild ID of the...
Fix all broken links via `cargo deadlinks`. This fixes links in the
following crates:
- embe...
68eb424e9dc3427ab5165b7f74c66319fa6426f7 authored over 4 years ago by Vivian <[email protected]>Signed-off-by: Vivian Hellyer <[email protected]>
41717b626ccd17b54d6a454aae0d241966b03a6e authored over 4 years ago by Vivian <[email protected]>
In the gateway's shard processor, conditionally deserialize received
events if the user has spe...
Update the primary example to use individual crates rather than the
deprecated main one.
Sig...
daacccb73ed5aa63d352d9887c47b679be8599d9 authored over 4 years ago by Vivian <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
f320b0551b159a87fca3342c5cc8bd149b06ae6c authored over 4 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
6114ab7b2da7a3b952204a0d1a5524bf8cf69b9b authored over 4 years ago by Erk <[email protected]>Add a CNAME file pointing to the domain, twilight.rs.
5f8b3f2c97d5378b6feee972028b8c621fe4ead0 authored over 4 years ago by Vivian <[email protected]>
Remove the example 'queue' application for the gateway. This application
implements a "BadQueue...
In the `twilight-standby` crate, test implementations with
`static_assertions`.
Signed-off-b...
bbef007a774ff03dc8149b29441c6703b18101ab authored over 4 years ago by Vivian <[email protected]>
In the `twilight-embed-builder` crate, test implementations with
`static_assertions`.
Signed...
d15020a855b162c248f7718d63f22ca4e815aec7 authored over 4 years ago by Vivian <[email protected]>
In the `twilight-mention` crate, test implementations with
`static_assertions`.
Signed-off-b...
c6322fcd79e8263462326779c7ab81cab083018b authored over 4 years ago by Vivian <[email protected]>
Some request future implementations called `Client::request` when
starting requests, while thei...
Allow the user to parse a message with a dynamic prefix not in the
configured list. This allows...
Simplify the `twilight_gateway::shard::processor` module in its
entirety. This commit breaks up...
Rework the `twilight_model::gateway::payload::RequestGuildMembers` type
by no longer using a va...
After the initial commit
(<https://github.com/discord/discord-api-docs/commit/29ec3458f5c561172...
It has been confirmed that the permissions bitflags won't go above 64
bits, so this reduces the...
In the gateway's `ShardProcessor`, actually use the configured
`large_threshold` value. It wasn'...
Simplify sending close codes on shard shutdown by using `Session::close`
instead of sending ove...
Make the `Shard::session` method private. The Session itself that's
returned is private and una...
Hide unnecessarily public methods in the `InMemoryCache` that should
only be used internally. T...
Make `twilight_model::gateway::Presence::guild_id` a non-Optional field.
Also make `twilight_mo...
Document everything in the gateway, updating much of the old
documentation and adding documenta...
Correct the readmes in the command-parser, model, and twilight crates
by specifying that the la...
- async-tungstenite 0.7 -> 0.8
3c7bc4727f151cfd55b3db498c77ca7723625bdf authored over 4 years ago by nickelc <[email protected]>Fix a bad merge caused by #428.
Signed-off-by: Vivian Hellyer <[email protected]>
25b90adab861c8889a962afccfb77efd8e309b27 authored over 4 years ago by Vivian <[email protected]>
Add tests to the (de)serialization of all types: models, enums,
bitflags, everything. Additiona...
Signed-off-by: Valdemar Erk <[email protected]>
6a77ecb79e4d4fc9659c93c534900565019966cc authored over 4 years ago by Erk <[email protected]>
Refactor the internals of the inflater to be clearer and to split a few
more pieces of function...
Rework the cache crate setup to simplify down from 3 (4, kind of) crates
to just 1 crate.
Th...
aafc11b9147bdf7e5917ed913e502c7f21a0651e authored over 4 years ago by Vivian <[email protected]>