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

gateway/shard: decrease some log levels (#305)

Decrease some log levels in the SocketForwarder to DEBUGs.

Approved-by: Iris Hoffmeyer <hi@ir...

github.com/twilight-rs/twilight - 482f1c507f644b3a12c6cf000362d272ade5668c authored over 4 years ago by Cldfire <[email protected]>
project: add 'twilight-mention' utility crate (#303)

Add a small utility crate named 'twilight-mention'. twilight-mention is
a crate for creating di...

github.com/twilight-rs/twilight - fd0f44ba3f3d5374401335c7f6a7fa8b278e4a43 authored over 4 years ago by Vivian <[email protected]>
model: properly handle unknown map keys (#298)

Properly handle unknown map keys by also deserializing the associated
value via `serde::de::Ign...

github.com/twilight-rs/twilight - 40d67c8c25b8896ebc86e87910dc9fb1fdb7f535 authored over 4 years ago by Vivian <[email protected]>
standby: add streaming variants (#295)

Add variants of each method that return a Stream instead of a Future.
This is useful when you n...

github.com/twilight-rs/twilight - 76b127443f85f25d7ab99b8b0f38097019f0bada authored over 4 years ago by Vivian <[email protected]>
cache/in-memory: use dashmap where possible (#293)

Use DashMap instead of mutexed hashmaps. This means that most operations
will no longer be lock...

github.com/twilight-rs/twilight - 003b3d98cfe8b8f60b20bd3f432d3d47f2bc3767 authored over 4 years ago by Vivian <[email protected]>
lavalink: add notices about lavalink::process (#299)

Add a few notices in the crate-level docs, Lavalink client docs, and
`Lavalink::process` method...

github.com/twilight-rs/twilight - dfd9ff746e6459bf1ebd067b36804217c33b670e authored over 4 years ago by Vivian <[email protected]>
lavalink/model: stats frames are optional (#300)

Make `Stats::frames` optional, since these might not be provided if no
frames have been process...

github.com/twilight-rs/twilight - fea6f77fd637d6014d719141d5aa530992d6875b authored over 4 years ago by Vivian <[email protected]>
gateway: remove serde-value dependency (#291)

Remove the `serde-value` dependency from the Gateway since it's not
used.

Approved-by: AEnte...

github.com/twilight-rs/twilight - 3f4121e95f2e68c3aa206c508ad05c79d8d5ce12 authored over 4 years ago by Vivian <[email protected]>
gateway/shard/processor/impl: fix typo in warn (#290)

Fix a typo in a warning from 'receiveing' to 'receiving'.

Approved-by: AEnterprise <aenterpri...

github.com/twilight-rs/twilight - cbf0a6d3ec129c1ebf17b8ac1e70ea5a79321443 authored over 4 years ago by Vivian <[email protected]>
Reorder guild caching to uphold voice state invariant (#294)

Approved-by: AEnterprise <[email protected]>
Approved-by: Vivian Hellyer <vivian@hel...

github.com/twilight-rs/twilight - 394472da728327609a909c7c4515d79f82afb426 authored over 4 years ago by BlackHoleFox <[email protected]>
make event listeners non async (#289)

makes sure events are emitted sequentially

Approved-by: Valdemar Erk <[email protected]>
Appro...

github.com/twilight-rs/twilight - 1bbdb6b5a4376b27498b18e214131ae1c3c15f01 authored over 4 years ago by AEnterprise <[email protected]>
builders/embed: attachment://, embed limits (#287)

builders/embed: attachment://, embed limits

Approved-by: AEnterprise <aenterprise@aenterprise...

github.com/twilight-rs/twilight - b1e61c4880864dd2043427405c1fa290ba8b6540 authored over 4 years ago by Cassandra McCarthy <[email protected]>
model/gateway/event/shard: derive (de)serialize (#288)

Derive `Deserialize` and `Serialize` on all of the shard events, marking
the `ShardEvent` enum ...

github.com/twilight-rs/twilight - 1903f2d9d20e23d644ebafc8dcda41d225ae72da authored over 4 years ago by Vivian <[email protected]>
http docs: fix channel/message/create_message#attachments (#286)

Approved-by: Vivian Hellyer <[email protected]>
Approved-by: Valdemar Erk <[email protected]>
M...

github.com/twilight-rs/twilight - c0d0041fd26c26a7c7542a9432b4cc26bb490bc3 authored over 4 years ago by Cassandra McCarthy <[email protected]>
standby: add more documentation (#279)

Add additional documentation to the crate docs which includes a full
sample bot and slightly cl...

github.com/twilight-rs/twilight - f2e124e70ad6cbaf1cceae009737155e4f82f8ab authored over 4 years ago by Vivian <[email protected]>
model/typing_start: use serde_test (#282)

Use `serde_test` for the `twilight_model::gateway::payload::TypingStart`
model to test (de)seri...

github.com/twilight-rs/twilight - 18da3dcc687573bd5eae6ef04fdae195035afba0 authored over 4 years ago by Vivian <[email protected]>
http/request/update_current_user: skip if empty (#280)

Skip serialising fields in the `UpdateCurrentUser` request if they're
empty.

Approved-by: Bl...

github.com/twilight-rs/twilight - eaf4c0b721c342c0594bec3a7bc0476c706480e5 authored over 4 years ago by Vivian <[email protected]>
http: Allow specifying a Ratelimiter in ClientBuilder (#272)

In the http's client builder, allow specifying a ratelimiter. This
allows for ratelimiters to b...

github.com/twilight-rs/twilight - f3b9ff3eda5ecd2a408de681e0f7a29f5c268c3f authored over 4 years ago by Mike Ledger <[email protected]>
model: add bare gift code update event (#278)

Add a bare undocumented "Gift Code Update" event to suppress warnings.

Approved-by: BlackHole...

github.com/twilight-rs/twilight - 0d214d6d8b20131235b0fe8200b3f3f0a15892cb authored over 4 years ago by AEnterprise <[email protected]>
model/guild: optimise deserialisation (#277)

Optimise the deserialisation of `twilight_model::guild::Guild` by
avoiding the use of `serde_va...

github.com/twilight-rs/twilight - 6aabb66e668e48d8eedfbfa69db97faf88d67c58 authored over 4 years ago by Vivian <[email protected]>
model/voice_state_update: fix member deser (#270)

Fix the deserialisation of the VoiceStateUpdate model by using a custom
deserialiser which defe...

github.com/twilight-rs/twilight - 5562e509d2429b3703db3e3cac5291fe9e67b821 authored over 4 years ago by Kyle Simpson <[email protected]>
Do not wrap Reqwest client in Arc. (#276)

Reqwest client does not needed to be wrapped in an arc as it is
internally handled in Reqwest. ...

github.com/twilight-rs/twilight - 1ad403f27cd70373bc5e374df73ab75e6ba26946 authored over 4 years ago by Erk <[email protected]>
Support for `SUPRESS_EMBEDS` and `allowed_mentions` in edit message. (#267)

* Support for `SUPRESS_EMBEDS` and `allowed_mentions` in edit message.

This also fixes an iss...

github.com/twilight-rs/twilight - d1f3a5d613dfc89adda8843b21022706440fe667 authored over 4 years ago by Erk <[email protected]>
Remove continues from waiter (#273)

Approved-by: @Erk- @vivianhellyer @Arzte

Signed-Off-By: Iris Hoffmeyer <[email protected]>

github.com/twilight-rs/twilight - c4e22e6340618f57d4b662b0319e9658b035928d authored over 4 years ago by Derek Lee <[email protected]>
model/guild_delete: use serde_test for tests (#266)

For the `gateway::payload::GuildDelete` test suite, use `serde_test` for
all of the tests inste...

github.com/twilight-rs/twilight - 244259a44b39d934d16bb9b2f761bd28d8bd0bff authored over 4 years ago by Vivian <[email protected]>
gateway: pass presence into identify payload (#258)

Pass the configured presence into the identify payload.

Approved-by: Valdemar Erk <valdemar@e...

github.com/twilight-rs/twilight - af24e9890eaafc74383f886d7d8eb53a4ee81f27 authored over 4 years ago by AEnterprise <[email protected]>
allow bearer tokens in Client and ClientBuilder (#269)

Approved-by: @Erk- @Arzte
Merged-by: Iris Hoffmeyer <[email protected]>

Signed-off-by: Iris Hoff...

github.com/twilight-rs/twilight - 773ccf66a0963e586f548ead17f2117e2f9a3e9b authored over 4 years ago by Mike Ledger <[email protected]>
Fix shard queue sending requests too quickly (#268)

Approved-by: @AEnterprise, @Erk-, @Arzte
Merged-by: Iris Hoffmeyer <[email protected]>

Signed-of...

github.com/twilight-rs/twilight - cf6198f0088e1cfe6df90f34f5b65f83b0df80e2 authored over 4 years ago by Derek Lee <[email protected]>
model/partial_emoji: make fields public (#262)

Make the fields of
`gateway::payload::reaction_remove_emoji::PartialEmoji` public. These
were ...

github.com/twilight-rs/twilight - 7676342f67ab229a7563df9373244eb80ccfaba6 authored over 4 years ago by Vivian <[email protected]>
model/reaction: optimise deserialisation (#265)

Optimise the deserialisation of `channel::Reaction` by using an
`OptionalMemberDeserializer` in...

github.com/twilight-rs/twilight - 6b5f3b074e5d1cf2a8de2f725d6f58a4477fb808 authored over 4 years ago by Vivian <[email protected]>
model/reaction: update tests to use serde_test (#264)

Update the test suite for `channel::reaction` to use `serde_test` for
checking equivalence of d...

github.com/twilight-rs/twilight - 1a9b01710dc8b9757162a72df29bc2e39d2644f8 authored over 4 years ago by Vivian <[email protected]>
model: alphabetise fields of all structs (#263)

Alphabetise the fields of all structs for a few reasons:

- The ordering of fields affects the...

github.com/twilight-rs/twilight - a769ace335158ed98d9d1105479fce8df5f7a600 authored over 4 years ago by Vivian <[email protected]>
model/typing_start: optimise deserialization (#261)

Optimise the deserialisation of the `gateway::payload::TypingStart`
model by avoiding deseriali...

github.com/twilight-rs/twilight - 7f84d1d3a06cc5051e25c482651e648649b1ca08 authored over 4 years ago by Vivian <[email protected]>
model/member_chunk: optimise deserialisation (#254)

Optimise the deserialisation of
`twilight_model::gateway::payload::MemberChunk` by using seeded...

github.com/twilight-rs/twilight - fa63cd68c1808d8a3f84106424026023aeae7726 authored over 4 years ago by Vivian <[email protected]>
model: delay visitor field defaulting (#253)

Delay the defaulting and processing of fields until all of the required
fields have already bee...

github.com/twilight-rs/twilight - 6121748fd1061b129e033371a93c691cc5c9a07c authored over 4 years ago by Vivian <[email protected]>
model/channel/guild_channel: handle unknown fields (#246)

In the GuildChannel deserializer, handle unknown fields. The
deserializer, on an unknown field,...

github.com/twilight-rs/twilight - 0b2962d108c258b267d7aba8967d0322ca49cae6 authored over 4 years ago by Vivian <[email protected]>
model/request_guild_members: add an untagged (#255)

Add a `#[serde(untagged)]` to the
`twilight_model::gateway::payload::RequestGuildMembersInfo` e...

github.com/twilight-rs/twilight - a60599625d8cecddaf0979fe8cd49bc2ff115a78 authored over 4 years ago by Vivian <[email protected]>
model/channel: fix reaction member deserialization (#242)

Fix the deserialization of `twilight_model::channel::Reaction`s with
members, by making use of ...

github.com/twilight-rs/twilight - 16748017cc9454ee67d53e6fd47ceeed98a2241b authored over 4 years ago by Vivian <[email protected]>
gateway/shard/processor: emit shard events (#233)

Emit the `twilight_model::gateway::event::shard` events when something
happens to the state of ...

github.com/twilight-rs/twilight - f88a6c41a09f3f7feb5f1f3db870c9f00784fc03 authored over 4 years ago by Vivian <[email protected]>
model/typing_start: fix member deserialization (#241)

Fix the deserialisation of
`twilight_model::gateway::payload::TypingStart` events with members,...

github.com/twilight-rs/twilight - 34222a631f342cb2cbaead591e0f650e90a84419 authored over 4 years ago by Vivian <[email protected]>
gateway/shard: handle bad intents (#247)

Handle invalid intents (code 4013) and disallowed intents (code 4014)
errors from Discord, and ...

github.com/twilight-rs/twilight - 5398b24ddd8b2197d690fef985534de5f14a0da7 authored over 4 years ago by Vivian <[email protected]>
model/channel/message/kind: derive repr (#252)

Derive `serde_repr::{Deserialize_repr, Serialize_repr}` for the
`channel::message::MessageType`...

github.com/twilight-rs/twilight - 1aebc522237dcd8deae444c92ade7bf39704fb11 authored over 4 years ago by Vivian <[email protected]>
http: document request/user and request/*.rs (#248)

* document request/user/*.rs*
* document request/*.rs

Signed-off-by: Cassandra McCarthy <cas...

github.com/twilight-rs/twilight - 97c86b6cd5ae5ae875d341ed5e25ed79c4f5e6ae authored over 4 years ago by Cassandra McCarthy <[email protected]>
http: document the rest of request/guild modules (#244)

* document request/guild/ban/*
* document request/guild/emoji/*
* document request/guild/integ...

github.com/twilight-rs/twilight - 53af29acec9f528038a1b1bdfdb2083fe61940a0 authored over 4 years ago by Cassandra McCarthy <[email protected]>
gateway: enable once_cell's 'std' feature (#249)

In the gateway, enable the `std` feature for the `once_cell` dependency.
We need this for our u...

github.com/twilight-rs/twilight - 85e6a5b1868c90bf9104b8c46bdd161fcfd87dc8 authored over 4 years ago by Vivian <[email protected]>
model: remove 'serde-support' feature (#243)

Remove the optional 'serde-support' feature in the model crate. As
evidenced by this patch, thi...

github.com/twilight-rs/twilight - c5592357d9bd36a845cb23f768c190353cbca775 authored over 4 years ago by Vivian <[email protected]>
Document more twilight_http methods (#221)

* docs: vivian's patch

* docs for request/channel/invite

* docs for request/channel/messag...

github.com/twilight-rs/twilight - 5f9c86812ce6a54eafa942dfbfac707e3915a444 authored over 4 years ago by Cassandra McCarthy <[email protected]>
model/gateway: add member chunk deserializer (#237)

Add a custom deserializer for
`twilight_model::gateway::payload::MemberChunk`, which now specia...

github.com/twilight-rs/twilight - 12d3bb7c6231056a3565e24b8da59542cd8e96f4 authored over 4 years ago by Vivian <[email protected]>
model: simplify guild delete unavailable field (#230)

Simplify the
`twilight_model::gateway::payload::GuildDelete::unavailable` field from
an `Optio...

github.com/twilight-rs/twilight - d7277aeada8ebb21cb7927cdd8d878c368d67160 authored over 4 years ago by Vivian <[email protected]>
model/channel: fix guild text channel deserialization (#203)

Fix the deserialization of guild channels by adding a custom
deserializer and matching on the c...

github.com/twilight-rs/twilight - e20c829f80da8a1737baa01510bf7fd5f3929cbb authored over 4 years ago by Vivian <[email protected]>
model/guild: remove logs that made it through #200 (#231)

These logs don't need to be here.

Approved-by: AEnterprise <[email protected]>
Ap...

github.com/twilight-rs/twilight - 54af89a483afc07906b2221cb5a0e8fada299112 authored over 4 years ago by Vivian <[email protected]>
http: fix getmember deserialization (#234)

Fix the response deserialization of the `GetMember` request.

Approved-by: Valdemar Erk <valde...

github.com/twilight-rs/twilight - e7305523610fb72c83c9e1bc46bcd10c726949d1 authored over 4 years ago by Cldfire <[email protected]>
gateway/cluster: fix command dispatching (#232)

When the cluster would start a shard, it clones the shard to reduce the
time it holds on to the...

github.com/twilight-rs/twilight - f3eac64c84ccb77a2650ffffd408cb006428e996 authored over 4 years ago by Vivian <[email protected]>
http: simplify client builder (#225)

Simplify the client builder. The client builder originally involved 4
structs: the client, clie...

github.com/twilight-rs/twilight - c4fba1e82a9e8f56ccc3b92d5994edaf16fa3a31 authored over 4 years ago by Vivian <[email protected]>
http: deserialise 429 ratelimited api errors (#226)

Handle 429 (ratelimited) API errors during deserialisation. The format
of the error is:

```
...

github.com/twilight-rs/twilight - d6a3c538961609b42fec82e14d92a420c06a980c authored over 4 years ago by Vivian <[email protected]>
http: make request initialisers non-public (#227)

Make all of the HTTP request structs' initialisers non-public, i.e.
`pub(crate)` instead. These...

github.com/twilight-rs/twilight - 96b3b18422b6d880848bf8e1e9d9058dddc9f0d7 authored over 4 years ago by Vivian <[email protected]>
actions: remove disabled workflows (#224)

Remove the disabled workflows, because these - and especially the stale
workflow - aren't likel...

github.com/twilight-rs/twilight - be86910217b869ccc3ca79701fd201c8301d067a authored over 4 years ago by Vivian <[email protected]>
project: update remaining branch names to trunk (#229)

github.com/twilight-rs/twilight - 08eddb5d2f28740bbd1087c857afb974e0c1f33d authored over 4 years ago by Cassandra McCarthy <[email protected]>
project: update docs to point to trunk branch (#223)

Following issue #222, the HEAD branch for the repository was renamed to
"trunk". This patch upd...

github.com/twilight-rs/twilight - 7923d399391d633b9a558add533808c79078527c authored over 4 years ago by Vivian <[email protected]>
Change delete_message_days to underscore for CreateBan (#220)

https://github.com/discord/discord-api-docs/commit/b9edace323c9df64c79f104d85984690ae4e2977

github.com/twilight-rs/twilight - 052fc8860c808268cced37a13d02c313e08d82ee authored over 4 years ago by Iris Hoffmeyer <[email protected]>
project: reduce selected dependency features (#213)

Reduce the selected features of dependencies, mostly by disabling all
default features and only...

github.com/twilight-rs/twilight - f09775ef6523d628ef18c94d69449d5a6ddae9f0 authored over 4 years ago by Vivian <[email protected]>
cache/in-memory: impl channel pins update event (#212)

Implement handling of the ChannelPinsUpdate event. This will first look
through the guild chann...

github.com/twilight-rs/twilight - a426857618bc89f3e7542ab3bd2137b8dbce9763 authored over 4 years ago by Vivian <[email protected]>
model: make member guild ids always present (#200)

This PR is another try at #180, which had to be reverted in #185 due to
not supporting deserial...

github.com/twilight-rs/twilight - 15d1dd8a466d2b04da83a21ad0f1bd10b18db246 authored over 4 years ago by Vivian <[email protected]>
Gateway cluster shard creations (#206)

Separate the booting of a Shard (connecting to the gateway, aka
"running") from the initialisat...

github.com/twilight-rs/twilight - 3af85a6223255ce365a6fa4c0fd37ac9c9b89253 authored over 4 years ago by Vivian <[email protected]>
http: improve feature layout of docs (#208)

Improve the docs' feature layout into sub-sections, making it clearer
to read and easier to lin...

github.com/twilight-rs/twilight - 832849f7cbe559e542b3228d37ec015eda7421bd authored over 4 years ago by Vivian <[email protected]>
standby: use dashmap, return future structs (#209)

In Standby, use DashMap for internal maps, which avoids the need for
locking and many of the fu...

github.com/twilight-rs/twilight - fc05c7088897a146a3467ef4a4f5bc0762cae50c authored over 4 years ago by Vivian <[email protected]>
gateway/shard: handle invalid authorization (#207)

In the gateway's Shard, handle invalid authorization both early and
during processing of the sh...

github.com/twilight-rs/twilight - 617e4f08093d4c1163102a0015c3756e1817f775 authored over 4 years ago by Vivian <[email protected]>
actions/test: use stable toolchain (#205)

Use the stable toolchain in the Test action, rather than the beta
toolchain.

Approved-by: AE...

github.com/twilight-rs/twilight - f88cd2934e7445c1fae8f523dfd7cc206cf4c72e authored over 4 years ago by Vivian <[email protected]>
project: sync readmes (#198)

Sync the readmes in README.md files and in lib.rs files. This also adds
a CI workflow for check...

github.com/twilight-rs/twilight - 0a00990087a2498c906185f607becd01261b634c authored over 4 years ago by Vivian <[email protected]>
cache/in-memory: remove gateway dependency (#199)

Remove the dependency on `twilight-gateway` from the
`twilight-cache-inmemory` crate. This was ...

github.com/twilight-rs/twilight - e7b289b7725378d3de237cb3b96a3df3d1a0e692 authored over 4 years ago by Vivian <[email protected]>
project: add lavalink crate (#191)

`twilight-lavalink` is a client for [Lavalink] as part of the twilight
ecosystem.

It include...

github.com/twilight-rs/twilight - 94acea4a28cad34e153694bd5ee8b479ae2493e3 authored over 4 years ago by Vivian <[email protected]>
standby: add trace level logging (#196)

Add a lot of TRACE level logging to the standby crate, which can help
users figure out applicat...

github.com/twilight-rs/twilight - c705e8968e33ea553182ec73bfb87f9b12983fb5 authored over 4 years ago by Vivian <[email protected]>
standby: fix non-instant bystander waiting (#197)

When iterating over the bystanders of an event being waited on, if the
check didn't pass the se...

github.com/twilight-rs/twilight - 2b10d3232bc5c0cf7561bb4d2dd296ce701083b8 authored over 4 years ago by Vivian <[email protected]>
Add simd-json support to gateway and http (#182)

* Add simd-json support to twilight-http and twilight-gateway

* Update readme files to docume...

github.com/twilight-rs/twilight - c2304e35a9fb5cb83f375f9390540c64f24c14d9 authored over 4 years ago by Tunahan Karlıbaş <[email protected]>
standby: add send bounds to wait methods (#190)

Add `Send` bounds to the wait methods:

- `wait_for`
- `wait_for_event`
- `wait_for_message`...

github.com/twilight-rs/twilight - 6d381afc49d956f3ed6d2a199efeef27deb7ef55 authored over 4 years ago by Vivian <[email protected]>
implement cold resuming (#188)

* implement cold resuming
allows to close the close the shard without terminating the session a...

github.com/twilight-rs/twilight - ebd199ca376b1959a22a947c6b5819498f4bd732 authored over 4 years ago by AEnterprise <[email protected]>
project: use new twilight logo (#195)

Use a new logo that's a bit more twilight-y than the old one. :)

Approved-by: AEnterprise
Ap...

github.com/twilight-rs/twilight - 0c1bd804baef82e483f2cd7641baf53fd35a8a65 authored over 4 years ago by Vivian <[email protected]>
Fix voice state cache panic (#164)

* Make voice state cache optionally return

* Fmt

* Try making the voice state cache based ...

github.com/twilight-rs/twilight - f10c6cc6a07f7d6e582f63009e68f045ecd39331 authored over 4 years ago by BlackHoleFox <[email protected]>
gateway,http: fix stable clippy (#189)

Fix stable clippy which introduced a regression into stable that gives
this error message for a...

github.com/twilight-rs/twilight - 097a84b67efe0f50ab7d59ff84aa160c34041ae9 authored over 4 years ago by Vivian <[email protected]>
http: add optional future outputs for requests (#187)

When the user uses a retrieval request, like getting a user by ID, the
future output is a `Resu...

github.com/twilight-rs/twilight - 48a4ae8eac0c0f4661f1b87ebda65797b856060f authored over 4 years ago by Vivian <[email protected]>
http: require reactiontype for reaction methods

Require ReactionType for HTTP reaction methods.

Closes #181.

Approved-by: Valdemar Erk <va...

github.com/twilight-rs/twilight - b212c4411ce8d068da5f18eba71163e338986cd8 authored over 4 years ago by Cassandra McCarthy <[email protected]>
cache/in-memory: re-impl cache updates for events (#186)

Add back the cache update implementation for
`twilight_model::gateway::event::Event`s, which wa...

github.com/twilight-rs/twilight - 9a473398497a3a53f6bc35c9505e63d1fef33659 authored over 4 years ago by Vivian <[email protected]>
Revert "model: make member guild ids always present (#180)" (#185)

Revert #180 for now due to not including support for guild members that
don't have a guild ID o...

github.com/twilight-rs/twilight - a9ba8561fa9d127337ccbf3d9ec83e96eb3a19c6 authored over 4 years ago by Vivian <[email protected]>
standby: return results for waiting methods (#184)

In Standby, instead of returning Options for the waiting methods return
Results, where the erro...

github.com/twilight-rs/twilight - 082dd6b95b9541b6583b7d00d2f2b57608ddb612 authored over 4 years ago by Vivian <[email protected]>
model: make member guild ids always present (#180)

Change the `model::guild::Member`'s `guild_id` field from an
`Option<GuildId>` to just a `Guild...

github.com/twilight-rs/twilight - 3ea9cd53e93953eba0836af4adb462571ae34f27 authored over 4 years ago by Vivian <[email protected]>
project: add standby crate (#175)

Standby is a utility to wait for an event to happen based on a predicate
check. For example, yo...

github.com/twilight-rs/twilight - 1e5f96e402f3b9d1a07588521f1e8020163f6085 authored over 4 years ago by Vivian <[email protected]>
http: parse api errors in responses (#179)

* http: parse api errors in responses

When an error occurs, instead of just giving the user a...

github.com/twilight-rs/twilight - 0915edc931ab731e63b3cfc72191b8d83345699a authored over 4 years ago by Vivian <[email protected]>
Enable cargo-audit tool cache (#178)

This should drastically speed up CI times, as cargo-audit is currently the slowest task to run w...

github.com/twilight-rs/twilight - d653268f95573ffb39ccaf391a2185184422fa75 authored over 4 years ago by Iris Hoffmeyer <[email protected]>
model: move event to gateway, add deserialization (#177)

Move the Event enum and its related types (such as the `EventType`,
`ShardEvent` and child stru...

github.com/twilight-rs/twilight - 394095daea572c9ee5f300e3ed2ab370ad44ee2f authored over 4 years ago by Vivian <[email protected]>
Change the User-Agent to be on the correct format. (#176)

https://discord.com/developers/docs/reference#user-agent

Signed-off-by: Valdemar Erk <valdema...

github.com/twilight-rs/twilight - 113ae78483aa924a9fb758c7a1123de20f95d9a5 authored over 4 years ago by Erk <[email protected]>
model/gateway: export reaction_remove_emoji (#174)

In the gateway's payload module, export the `reaction_remove_emoji`
module. The `payload` modul...

github.com/twilight-rs/twilight - eaab669545b1e5405e1b7669004bbb2c983d4695 authored over 4 years ago by Vivian <[email protected]>
Updates for discord 2020-05-27 (#173)

* Update the model with the newest changes.

- Document optional Connection object fields.
ht...

github.com/twilight-rs/twilight - 09b6e7ea25a92c29d91521f98bd524ff584e4a7b authored over 4 years ago by Erk <[email protected]>
cache/in-memory: attach guild ids to channels (#171)

In the InMemoryCache, automatically attach Guild IDs to guild channels
as they're added. Guild ...

github.com/twilight-rs/twilight - 5d8f7703eb34068c22977918769918c95c6f802f authored over 4 years ago by Vivian <[email protected]>
http: add native and rustls features (#172)

Add two features to the `http` crate: `native` and `rustls`. `native`
enables `reqwest`'s `nati...

github.com/twilight-rs/twilight - 90bd6680d24c65173736c3a8bb0a2e5b7257e1d3 authored over 4 years ago by Vivian <[email protected]>
project: use stable rustfmt (#170)

Use the stable channel's rustfmt. This runs rustfmt and removes the
following lints that are un...

github.com/twilight-rs/twilight - c04e208448d70c2c1caceb2b205d0f7697cf711d authored over 4 years ago by Vivian <[email protected]>
project: update to discord.com domain (#168)

Update to use the discord.com domain, because discordapp.com is now
soft-deprecated but without...

github.com/twilight-rs/twilight - 14c955c94c19fbda76a15a8edde2aadf6fc1d27b authored over 4 years ago by Vivian <[email protected]>
actions: run audit only on cargo.toml update (#169)

Run the Audit action only when the Cargo.toml file has been updated on
pushes and PRs, instead ...

github.com/twilight-rs/twilight - 8f7ece3049082566f26b7c7aa45ae01796a4504f authored over 4 years ago by Vivian <[email protected]>
http: validate request parameters (#167)

http: validate request parameters

This patch is a continuation of PR #146 with the comments a...

github.com/twilight-rs/twilight - 990d05931a35eeac1b0a76cbba9b36bb874d23d9 authored over 4 years ago by Vivian <[email protected]>
Make all cache methods public (#141)

Rational is primarily allowing developers to manually cache items outside
of events, such as ho...

github.com/twilight-rs/twilight - 87f4e53f3a06a625100a1ff4f2737b1988804c48 authored over 4 years ago by Iris Hoffmeyer <[email protected]>
actions: use stable clippy (#166)

* actions: use stable clippy

Use stable clippy in the lint workflow and fix a lint that was c...

github.com/twilight-rs/twilight - 6cda47ced8357f36cd0a3f355ea993e506938944 authored over 4 years ago by Vivian <[email protected]>