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

release(gateway): bump to 0.4.2

Additions

There are 6 new `EventTypeFlags` ([#845], [#914] - [@7596ff]):

- `EventTypeFlags::IN...

d4ba0fc1043860ace8aa03c410e96ff405715722 authored over 3 years ago by Cassandra McCarthy <[email protected]>
release(command-parser): bump to 0.4.2

Enhancements

`Arguments::as_str` now uses the borrowed string's lifetime ([#852] -
[@vilgotf])....

55156d2356c72e21bf67d3ebb8786d1ffad65f0b authored over 3 years ago by Cassandra McCarthy <[email protected]>
release(cache/in-memory): bump to 0.4.3

Additions

Support stage instances ([#845] - [@7596ff]).

Support `Guild::nsfw_level`.

Support ...

1902006c2ac5beac12b0adef1baa41126040c1a7 authored over 3 years ago by Cassandra McCarthy <[email protected]>
chore(http): add 2 new api error codes (#918)

Fixes #913.

970e2e758ec7350ccbbdd16deea80b0d5fd30f62 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(cache,model): guild integration events (#914)

Adds 3 events to the event enums. Adds a new ResourceType to the cache,
and new cache fields.
...

d33e17099f287d2915c7c9bb3572d7e820cd5807 authored over 3 years ago by Cassandra McCarthy <[email protected]>
chore(model): webhook application id (#908)

Fixes #863.

accd7434e531dbf7282470b8eec89c777a467547 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(model): stage instance audit log events (#907)

Fixes #875.

785bd51973afb8e9d1ddfbba1789adae5546f047 authored over 3 years ago by Cassandra McCarthy <[email protected]>
enhancement(http): remove 'serde_repr' dependency (#920)

Remove `serde_repr` as a dependency of the HTTP crate. It turns out this
isn't actually used.

b88cb861395531c3c6e3df59b92e1d69e6db5146 authored over 3 years ago by Vivian Hellyer <[email protected]>
enhancement(http): remove 'futures_util' dep (#912)

Remove the `futures-util` dependency from the HTTP crate by replacing
its use in the `ExecuteWe...

ce60f646a2de56aa333baf7e6ddabd4b2a7aa591 authored over 3 years ago by Vivian Hellyer <[email protected]>
refactor(http): remove unused 'native-tls' dep (#911)

Remove the unused `native-tls` dependency from the HTTP crate. This was
used as workaround for ...

e12430e65b5be6856a3d5320592baa0024845612 authored over 3 years ago by Vivian Hellyer <[email protected]>
refactor(http): remove direct bytes dependency (#909)

Remove a direct dependency on the `bytes` crate by instead using
`hyper`'s re-export.

215029270827e6e44bca3ddf3e98133fbbf55ee9 authored over 3 years ago by Vivian Hellyer <[email protected]>
docs(gateway): fix private anchors (#897)

Anchors on some private functions that are not exposed to the public API
are broken and this fi...

37c5760d8f92c908217964500ed742e111168141 authored over 3 years ago by Vivian Hellyer <[email protected]>
fix(model): Make CurrentApplicationInfo::flags optional (#904)

` /oauth2/applications/@me` returns the CurrentApplicationInfo without `flags`, so this must be ...

e034ca54b0f7bd4f7d6c040f6ffc0a10250e3126 authored over 3 years ago by Jens Reidel <[email protected]>
Simplify gateway processor compression usage (#896)

refactor(gateway/processor): simplify compression

Simplify the internal compression interface...

09fa227f66cab291412c224961043559c9f70901 authored over 3 years ago by Vivian Hellyer <[email protected]>
CurrentApplicationInfo: new keys (#882)

feat(model): new application keys

Adds `CurrentApplicationInfo::{flags, privacy_policy_url,
...

5f30d731fdfb8a3d17589d00d94049a907e4deef authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(http,model): stage instance discovery fields

Adds:
- `model`
- `StageInstance::{discoverable_disabled, privacy_level}`
- `http`
-...

d563dcb67ff63bf1f15bf27a44a515a95583ad09 authored over 3 years ago by Cassandra McCarthy <[email protected]>
chore(model, cache): Deprecate guild region field (#887)

Deprecates the region field on guild.

Fixes #884.

a632f0914b766f9af57a8a13b2a15ccda291a3b9 authored over 3 years ago by BlackHoleFox <[email protected]>
enhancement(http): Implement JSON error code 20031 (#886)

Adds support for the new JSON error code 20031, for when you put banned words in a public stage ...

cbc5a815d808d7bb561cdc5f092febd499621175 authored over 3 years ago by BlackHoleFox <[email protected]>
chore(http): Loosen channel name minimum length to one character (#885)

The limit was previously two characters. This change isn't breaking because no functions are

...

382a1401624dd6016d434ea332cf5cf4a0db4f8c authored over 3 years ago by BlackHoleFox <[email protected]>
feat(model): add `Team::name` (#881)

Adds the `name` field to `Team`. Also adds static assertions tests.

Fixes #857.

ee52042484888891839911e8f33dd65f74d2f057 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(http): new fields for `update_guild_channel_positions` (#880)

This PR changes the signature of
`Client::update_guild_channel_positions` from `impl Iterator<I...

969c1dd0888a2552ca65b799becd1c134e65d963 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(cache,model): nsfw_level (#848)

Add the field `nsfw_level` to Guild, and deprecate the `nsfw` field.

139ca3c073101960f2f1a6216986fc5e708c488e authored over 3 years ago by doge <[email protected]>
fix(gateway/processor): remove message size limit (#853)

Remove the max message size limit on WebSocket connections. The max
frame size limit was remove...

7d80cbbbc730d097ee430b9e801c13190540e699 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(cache,model): stage instance gateway events (#845)

feat(cache,model): stage instance gateway events

Adds:
- `cache` `InMemoryCache::{guild_stag...

d420a9530f01f5945e4d0a0b1ebed3b499cf4840 authored over 3 years ago by Cassandra McCarthy <[email protected]>
refactor(mention): smoother impl on borrowed types (#883)

Refactors Mention to use a blanket implementation across all borrowed types that implement it.

b72de4cfcf3cd7169284c2ea94c6d5fce9d992bd authored over 3 years ago by Gryffon Bellish <[email protected]>
refactor(http): deprecate result (#821)

Deprecate the `error::Result` type alias, as it's unnecessary and
importing `error::Error` is n...

9e6800483ac784bb0ca32ea55688c304857a0f4a authored over 3 years ago by Vivian Hellyer <[email protected]>
refactor(http/request): remove internal prelude (#823)

Remove crate-private re-exports in `request::prelude` and remove
internal usage of it. Preludes...

58fc1011a210b7e798ce992b96dfd3d294a5c668 authored over 3 years ago by Vivian Hellyer <[email protected]>
fix(command-parser/arguments): use string lifetime (#852)

In the return type of `Arguments::as_str`, use the lifetime of the
borrowed string instead of t...

148fb72662b4994865a954a1a99afc280555d8fc authored over 3 years ago by Vilgot Fredenberg <[email protected]>
release(cache/in-memory): bump to v0.4.2

Enhancements

The following functions are now `const`:

- `Config::new`
- `Config::message_cache...

7358c51a92813f678cd7be9ce0404862dd21e8c3 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(command-parser): bump to v0.4.1

Enhancements

The following functions are now `const`:

- `Arguments::as_str`
- `CaseSensitivity...

e6ff6e27a1a6fa739d570620a59ff250f61359e7 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(embed-builder): bump to v0.4.1

Enhancements

The following functions are now `const`:

- `EmbedAuthorBuilder::new`
- `EmbedBuil...

fd0cc9fe775c7bf28a32d1d3e86c73e53ee1309d authored over 3 years ago by Vivian Hellyer <[email protected]>
release(gateway): bump to v0.4.1

Enhancements

A peer feature dependency of `tokio`'s `macros` feature has been removed
([#826] -...

aa3fa959f4a922e1720dd76ac6a991feced73c94 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(http): bump to v0.4.2

Upgrade Path

`Request::new` and the `From` implementations on `Request` have been
deprecated; u...

b1bd6e86a484b1166cc624f949b8768c96745b3d authored over 3 years ago by Vivian Hellyer <[email protected]>
release(lavalink): bump to v0.4.1

Enhancements

The following functions are now `const`:

- `client::ClientError::kind`
- `model::...

bd7ab21012bc2453df28b20814f31afedf5e608f authored over 3 years ago by Vivian Hellyer <[email protected]>
release(mention): bump to v0.4.1

Enhancements

The following functions are now `const`:

- `parse::MentionIter::as_str`
- `parse:...

61bb8574c89a06bf3e5c2a5ccf6820fd36f4a909 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(util): bump to v0.4.1

Enhancements

`link::webhook::WebhookParseError::kind` is now `const`
([#824] - [@vivian]).

[@v...

99969b26150fef686b16765850780abf5f339bb5 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(model): bump to v0.4.2

Upgrade Path

`invite::TargetUserType` is now deprecated; `invite::TargetType` should
be used in...

18d7054c051918a98c5af7c0bf4c144ed3ca5adb authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(model): add `MinimalActivity` (#851)

The purpose of this struct is to make it a little easier to construct
the requisite Activity st...

396483a85465b25d7a59b20865b4d57774f1860b authored over 3 years ago by Cassandra McCarthy <[email protected]>
fix(http): fix logic in update_webhook_message (#844)

This is something that I missed in #797.

566ced5cd5bfe5ac05c75c45897b9e1b6652cbff authored over 3 years ago by Cassandra McCarthy <[email protected]>
chore(main): fix clippy (#849)

This change actually needs to go on the main branch. Closed #843 in
favor of this PR.

98f5a7908786a841aa8c7aaa485c72fe977298b7 authored over 3 years ago by Cassandra McCarthy <[email protected]>
refactor(http): move json utilities to module (#822)

Avoid polluting the crate root by moving the JSON utilities to their own
module.

ff35337c8fb5fe3e662cdc863572537c5b093267 authored over 3 years ago by Vivian Hellyer <[email protected]>
enhancement: make simple functions constant (#824)

Make many simple functions constant. Functions that are harder to be
constant haven't been incl...

b19a8bdf7fbbe75be771f535086bc2dd69983b17 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(http): support retrieving a webhook's message (#817)

Add support for retrieving a message created by a webhook via
`Client::webhook_message`.

Doc...

206d95df6345542d56c08c9dae33f92d166febdf authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(http): add new create, update guild fields (#819)

Add the following fields and methods to `CreateGuild` and `UpdateGuild`:

- `CreateGuild::afk_...

b22500c44c5a8d273ad1676b1702e2fb43ead46a authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat,fix(http, model): bring invites up to date (#809)

This PR brings invite functionality up to date with the current docs.

Changes to `http` crate...

2c21b5286a99271a0db6982ba3890270a6746eb7 authored over 3 years ago by Cassandra McCarthy <[email protected]>
enhancement(http): skip auth token on webhooks (#828)

When using a request related to webhooks don't send the client's
authorization token if a webho...

34c18ac1f89d171ea6b480c1e4dccc8f4b362b8d authored over 3 years ago by Vivian Hellyer <[email protected]>
enhancement(gateway/shard): make `start` take ref (#827)

Instead of taking `&mut self` in `Shard::start`, take `&self`.
Mutability is not required here.

a5ef7f27321c897d6f5929169b6fb990c846128a authored over 3 years ago by Vivian Hellyer <[email protected]>
refactor(http): use new request builder for stage methods (#830)

Use the new `RequestBuilder` for stage instance requests.

ecff368ed0cd0f3fa601eb8bbddc7af27820565e authored over 3 years ago by Cassandra McCarthy <[email protected]>
fix(http/update_channel): serialize fields as body (#831)

Set the body of `UpdateChannel` to include the serialized fields.

This was accidentally left ...

12b971d235b16c47d2afae54809e5a64bbb28855 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(http/api_error): add 18 error codes (#818)

Add 18 additional HTTP API error codes.

Docs:
- <https://github.com/discord/discord-api-docs...

00310afdd62b2a9618bdde539a3d217ea7ce78cc authored over 3 years ago by Cassandra McCarthy <[email protected]>
refactor(gateway): remove select macro usage (#826)

Remove usage of the `tokio::select!` macro in favor of
`futures_util::future::select`. This all...

16267bd17a7d4648c5f9cfbe3a09d2ab46a8166c authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(http, model): implement stage instances (#812)

Adds:
* `http` `Client::create_stage_instance`
* `http` `Client::delete_stage_instance`
* `ht...

a06c6db89b3ac25cceb2c2f30b46eaf342f5d6b1 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(model): add discord certified moderator flag (#820)

Docs:
<https://github.com/discord/discord-api-docs/commit/55cd3d71082e9dc31cbd007a6e74b1cd6a82b...

dc7d505946f7af468fc198c56d81dd49b02c7b57 authored over 3 years ago by Cassandra McCarthy <[email protected]>
refactor(http/request): add request builder (#814)

Add a `RequestBuilder` to build into a `Request`. This will allow us to
make `Request` non-exha...

1d2afb0614d84408c3baf815b0538e017b2ee680 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(cache/in-memory): bump to v0.4.1

Additions

Add API for accessing statistics about the cache, accessible through
`InMemoryCache::...

a071c9fd319e2ebebec06b6489f94c0c20eed6c5 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(http): bump to v0.4.1

Upgrade Path

`CreateMessage::attachments` and `CreateMessage::attachment` have been
deprecated....

e5d9e9680c5935d7ae3059a4412a19544acadeb4 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(model): bump to v0.4.1

Additions

Support activity buttons ([#772] - [@vivian]).

[@vivian]: https://github.com/vivian
...

b6d10acdf01977247b5c92e095300e4e2c0695a6 authored over 3 years ago by Vivian Hellyer <[email protected]>
docs: update readme to mention 0.4 (#815)

Update the readme to mention 0.4 instead of 0.3.

c9c07248023dd1253c463c046396b9a4210988b9 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(cache/in-memory): add cache stats interface (#806)

Add an interface for retrieving the number of entities of a resource in
the cache.

The new `...

f07a64e0a10dad6819f82cbfaf9c9b6ceed5125c authored over 3 years ago by Vivian Hellyer <[email protected]>
feat,fix(http): fix payload_json, handle files (#797)

Fix the `CreateMessage::payload_json` and `ExecuteWebhook::payload_json`
methods.

Additional...

552a9a05a1cf448fa91a0a8f5b2ad8951cae731d authored over 3 years ago by Gautam Abhyankar <[email protected]>
chore: rename 'trunk' branch references to 'main' (#808)

The primary branch has been renamed from 'trunk' to 'main', so the
GitHub workflows, CONTRIBUTI...

6cc504a937f4009345668f9f63241728788c2b07 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(model/gateway): support activity buttons (#772)

Docs:
<https://github.com/discord/discord-api-docs/commit/5d1f03c1ad8c0a83f50e6693aeb8416aa9707...

56f95184e9a0d2e8b3eb7f3feb8954ddc0cad73b authored over 3 years ago by Vivian Hellyer <[email protected]>
chore(gateway/queue): bump cargo.toml to v0.4.0

This detail was missed in the 0.4 changelog PR, #804.

Signed-off-by: Vivian Hellyer <vivian@hel...

f2a27f44df4e10617164a672d9e086ca911239c8 authored over 3 years ago by Vivian Hellyer <[email protected]>
release: bump to v0.4.0 (#804)

Add the changelogs for versions 0.4.0 of all crates and bump their
versions in `Cargo.toml`s to...

5b05dcc4d9c4465cda77fbef625776bf64a5bda2 authored over 3 years ago by Vivian Hellyer <[email protected]>
Merge branch 'trunk' into v0.4

786997189f061032c2121a3630f42c6bff54317c authored over 3 years ago by Vivian Hellyer <[email protected]>
release(http): bump to v0.3.9

Additions

Support the Update Current User Voice State and Update User Voice State
stage channel...

98061636f5e450ca21887ceafc114588e9d89a24 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(http): support stage channel routes (#795)

Documentation:
<https://github.com/discord/discord-api-docs/commit/71cc444a908401a194e8848bf184...

6e106faeee41566af89a0d43460b43b777fa4d4b authored over 3 years ago by Cassandra McCarthy <[email protected]>
fix(http/routing): percent-encode create ban reason (#803)

Percent-encode the reason for the `CreateBan` route, as otherwise it
would fail with characters...

06c2511943298b6940e3947751dbd7c4d5946566 authored over 3 years ago by Erk <[email protected]>
ci: disable clippy beta (#802)

The newest lint we're catching on in beta is still marked as
experimental in stable. This workf...

7f80eb060b108237e4696372891291b0be1fded7 authored over 3 years ago by Cassandra McCarthy <[email protected]>
Add missing JSON errors (#800)

Add missing JSON errors

This patch adds support for the following json error codes:
10057 - ...

745bb339e1b55930a2b13e5e39db590f773b6076 authored over 3 years ago by Erk <[email protected]>
refactor!(http): use custom http method enum (#767)

Use a custom Method enum instead of exposing `hyper`'s. This is mostly
equivalent to `hyper`'s ...

d271931abc25a14ef27114da25e429c74feadcf2 authored over 3 years ago by Vivian Hellyer <[email protected]>
release(cache/in-memory): bump to v0.3.6

Additions

Support the `MemberUpdate::{deaf, mute}` fields ([#774] - [@7596ff]).

Support guild ...

a0a6841500f1077648a8de62c1ed81df107a2a1d authored over 3 years ago by Vivian Hellyer <[email protected]>
release(http): bump to v0.3.8

Additions

Support the "Get Guild Welcome Screen" and "Update Guild Welcome Screen"
endpoints ([...

85d141e07a600dfebeeb56043fcb0a2707ca31ec authored over 3 years ago by Vivian Hellyer <[email protected]>
release(model): bump to v0.3.7

Additions

Support the `MemberUpdate::{deaf, mute}` fields ([#774] - [@7596ff]).

Support guild ...

070fe72766ccae54509907458d4329cc8a154f7f authored over 3 years ago by Vivian Hellyer <[email protected]>
chore!: replace futures dependencies with tokio (#785)

Replace `async-tungstenite` with `tokio-tungstenite` which uses `tokio`
I/O traits instead of `...

7d2c8d8931238ab2b3817ad4e8de2392f317997f authored over 3 years ago by Jens Reidel <[email protected]>
feat(http): add guild welcome screen endpoints (#792)

Support the guild welcome screen endpoints:

- get guild welcome screen
- update guild welcom...

155ef7349f434e24a52287bc654eda7dbfc63589 authored over 3 years ago by Cassandra McCarthy <[email protected]>
chore!(http, gateway): Update simd-json to 0.4 and bump MSRV (#786)

simd-json's MSRV has changed, so we are bumping ours to 1.49 as well.

Signed-off-by: Jens Rei...

b39aab76867ab885211b3e4b677c67862fb0e941 authored over 3 years ago by Jens Reidel <[email protected]>
feat(model): add USE_SLASH_COMMANDS permission (#794)

Support the `USE_SLASH_COMMANDS` permission.

309af0fb2fcf183a878ee291905ef667b0eeb885 authored over 3 years ago by James Liu <[email protected]>
refactor!(http,model): move allowed_mentions to model, rework buider, update methods (#760)

The current AllowedMentions implementation was messy and not
future-proof.The model itself is ...

57e7c7fe6005b440c13ed971d1b7efd1e8ccb662 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(model): implement stage channels (#793)

https://github.com/discord/discord-api-docs/commit/71cc444a908401a194e8848bf184a6deab6e4fc8

57e054cc2ce4dbb27f8b24384c5cf07d81e89817 authored over 3 years ago by James Liu <[email protected]>
feat!(lavalink): improve node cleanup api (#742)

Add `Node::close` to close the connection and `Lavalink::disconnect` to
close the WebSocket con...

3fda77fc8218c9f343adeeee0ba5f5666f5b3d34 authored over 3 years ago by James Liu <[email protected]>
chore!(gateway): update `metrics` to v0.14 (#789)

Bump the gateway `metrics` dependency to 0.14.

d76145615189d6af71734afdd5e75542c9bead11 authored over 3 years ago by James Liu <[email protected]>
chore!(lavalink): hide external dependencies (#765)

Hide the `futures-channel` dependency from the API by wrapping it with a
newtype implementing t...

3a4b8dd30ade2325ca5b8c9326860209915affc4 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(model): guild member update includes deaf, mute (#774)

Support `MemberUpdate::{deaf, mute}`.

Documented in:
<https://github.com/discord/discord-api...

299492d517ada3e64b327025236972893659422d authored over 3 years ago by Cassandra McCarthy <[email protected]>
release(http): bump to v0.3.7

Upgrade Path

`CreateInvite::target_user` is deprecated, use
`CreateInvite::target_user_id`.

Ad...

52dffdced80c5338acd4a93f7e7384f38b31897a authored over 3 years ago by Vivian Hellyer <[email protected]>
release(model): bump to v0.3.6

Upgrade Path

Handle the newly optional `AuditLogEntry::user_id` and
`Attachment::{height, width...

a51683648bd7b4346eae693225759a8d3232ac3c authored over 3 years ago by Vivian Hellyer <[email protected]>
feat!(http/update_guild_member): return new member

After updating a member via the `UpdateGuildMember` HTTP request, return
an updated copy of the...

38c35523ed8acc33e1b4b45c610873ca5ed6d7b0 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(http): search_guild_members (#587)

Signed-off-by: Jens Reidel <[email protected]>
Co-authored-by: Cassandra McCarthy <cassie@759...

0a2fbc5ed4d5df3cee80d9c3b630faad3862b049 authored over 3 years ago by Jens Reidel <[email protected]>
docs: update freyacodes' github link (#791)

Signed-off-by: Cassandra McCarthy <[email protected]>
Approved-by: Valdemar Erk <[email protected]...

a66c26913bcfce5e1a8862ed61b6c98b07b52f16 authored over 3 years ago by Cassandra McCarthy <[email protected]>
fix(model): repair test with new values (#790)

Signed-off-by: Cassandra McCarthy <[email protected]>

fc0ef3e21911546b1cddb1ca7368b446b8e31e74 authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(http, model): support guild templates (#736)

https://discord.com/developers/docs/resources/template

Templates use a custom guild type `Tem...

7cee578e0c442e24148e271015138cf9cc9f703b authored over 3 years ago by Cassandra McCarthy <[email protected]>
chore!(command-parser/arguments): remove from impl (#763)

Remove the `From<&str>` impl for `Arguments` in favor of using
`Arguments::new`.

Approved-by...

4925be0192f4c9d380999e5f202e48e87852b742 authored over 3 years ago by Vivian Hellyer <[email protected]>
chore!(http/client): remove hyper builder method (#768)

Remove the `ClientBuilder::hyper_client` method so that we don't expose
`hyper`. This also remo...

c48053612307dbdf144b55f6f4d4bfd1c08ba876 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(model): support `attachment::content_type` (#773)

Support the `Attachment::content_type` field.

Docs:
<https://github.com/discord/discord-api-...

5bf6f0da43f418c5ea6cbd4640dd7eb4cf53a2ac authored over 3 years ago by Cassandra McCarthy <[email protected]>
fix(http/bucket): sleep in seconds on global lock (#787)

When a global ratelimit is received and the global lock is locked, sleep
for the provided numbe...

4b1cb17e33b58852611cc695bbc81ab2d2ad736c authored over 3 years ago by Vivian Hellyer <[email protected]>
fix(http/headers): correctly parse globals (#766)

Global ratelimits were not being parsed prior to other headers, meaning
that the absense of oth...

bb332dd1af78c43eeb9ef9001b37b2829585cfb9 authored over 3 years ago by Vivian Hellyer <[email protected]>
fix(mention/parse): remove debug bound on iter (#764)

Remove the `Debug` bound on the `mention` crate's `MentionIter`
`Iterator` implementation. This...

815c1ec7f8d0d73e21cce69faf6f284ff02b87b9 authored over 3 years ago by Vivian Hellyer <[email protected]>
chore(http): remove get current user dms request (#782)

Remove the request for retrieving the current user's DMs.

This endpoint has been removed from...

49621c19c76a6c09f78892a0952bff492c9ea2b5 authored over 3 years ago by Vivian Hellyer <[email protected]>
feat(model): add guild::nsfw field (#775)

Add the `Guild::nsfw` field, per [5e63e30].

[5e63e30]: https://github.com/discord/discord-api...

b8109e35c77ecebb81bc7a2629b80fba525c6bae authored over 3 years ago by Cassandra McCarthy <[email protected]>
feat(model/role): impl position, id ordering (#762)

Role ordering can be done position, but Discord provides zero guarantees that
positions are uni...

6b968e5f0098675611cf8a0c8d7a09cd8a55e159 authored over 3 years ago by James Liu <[email protected]>