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
Additions
There are 6 new `EventTypeFlags` ([#845], [#914] - [@7596ff]):
- `EventTypeFlags::IN...
d4ba0fc1043860ace8aa03c410e96ff405715722 authored over 3 years ago by Cassandra McCarthy <[email protected]>Enhancements
`Arguments::as_str` now uses the borrowed string's lifetime ([#852] -
[@vilgotf])....
Additions
Support stage instances ([#845] - [@7596ff]).
Support `Guild::nsfw_level`.
Support ...
1902006c2ac5beac12b0adef1baa41126040c1a7 authored over 3 years ago by Cassandra McCarthy <[email protected]>Fixes #913.
970e2e758ec7350ccbbdd16deea80b0d5fd30f62 authored over 3 years ago by Cassandra McCarthy <[email protected]>
Adds 3 events to the event enums. Adds a new ResourceType to the cache,
and new cache fields.
...
Fixes #863.
accd7434e531dbf7282470b8eec89c777a467547 authored over 3 years ago by Cassandra McCarthy <[email protected]>Fixes #875.
785bd51973afb8e9d1ddfbba1789adae5546f047 authored over 3 years ago by Cassandra McCarthy <[email protected]>
Remove `serde_repr` as a dependency of the HTTP crate. It turns out this
isn't actually used.
Remove the `futures-util` dependency from the HTTP crate by replacing
its use in the `ExecuteWe...
Remove the unused `native-tls` dependency from the HTTP crate. This was
used as workaround for ...
Remove a direct dependency on the `bytes` crate by instead using
`hyper`'s re-export.
Anchors on some private functions that are not exposed to the public API
are broken and this fi...
` /oauth2/applications/@me` returns the CurrentApplicationInfo without `flags`, so this must be ...
e034ca54b0f7bd4f7d6c040f6ffc0a10250e3126 authored over 3 years ago by Jens Reidel <[email protected]>refactor(gateway/processor): simplify compression
Simplify the internal compression interface...
09fa227f66cab291412c224961043559c9f70901 authored over 3 years ago by Vivian Hellyer <[email protected]>feat(model): new application keys
Adds `CurrentApplicationInfo::{flags, privacy_policy_url,
...
Adds:
- `model`
- `StageInstance::{discoverable_disabled, privacy_level}`
- `http`
-...
Deprecates the region field on guild.
Fixes #884.
a632f0914b766f9af57a8a13b2a15ccda291a3b9 authored over 3 years ago by BlackHoleFox <[email protected]>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]>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]>Adds the `name` field to `Team`. Also adds static assertions tests.
Fixes #857.
ee52042484888891839911e8f33dd65f74d2f057 authored over 3 years ago by Cassandra McCarthy <[email protected]>
This PR changes the signature of
`Client::update_guild_channel_positions` from `impl Iterator<I...
Add the field `nsfw_level` to Guild, and deprecate the `nsfw` field.
139ca3c073101960f2f1a6216986fc5e708c488e authored over 3 years ago by doge <[email protected]>
Remove the max message size limit on WebSocket connections. The max
frame size limit was remove...
feat(cache,model): stage instance gateway events
Adds:
- `cache` `InMemoryCache::{guild_stag...
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]>
Deprecate the `error::Result` type alias, as it's unnecessary and
importing `error::Error` is n...
Remove crate-private re-exports in `request::prelude` and remove
internal usage of it. Preludes...
In the return type of `Arguments::as_str`, use the lifetime of the
borrowed string instead of t...
Enhancements
The following functions are now `const`:
- `Config::new`
- `Config::message_cache...
Enhancements
The following functions are now `const`:
- `Arguments::as_str`
- `CaseSensitivity...
Enhancements
The following functions are now `const`:
- `EmbedAuthorBuilder::new`
- `EmbedBuil...
Enhancements
A peer feature dependency of `tokio`'s `macros` feature has been removed
([#826] -...
Upgrade Path
`Request::new` and the `From` implementations on `Request` have been
deprecated; u...
Enhancements
The following functions are now `const`:
- `client::ClientError::kind`
- `model::...
Enhancements
The following functions are now `const`:
- `parse::MentionIter::as_str`
- `parse:...
Enhancements
`link::webhook::WebhookParseError::kind` is now `const`
([#824] - [@vivian]).
[@v...
99969b26150fef686b16765850780abf5f339bb5 authored over 3 years ago by Vivian Hellyer <[email protected]>Upgrade Path
`invite::TargetUserType` is now deprecated; `invite::TargetType` should
be used in...
The purpose of this struct is to make it a little easier to construct
the requisite Activity st...
This is something that I missed in #797.
566ced5cd5bfe5ac05c75c45897b9e1b6652cbff authored over 3 years ago by Cassandra McCarthy <[email protected]>
This change actually needs to go on the main branch. Closed #843 in
favor of this PR.
Avoid polluting the crate root by moving the JSON utilities to their own
module.
Make many simple functions constant. Functions that are harder to be
constant haven't been incl...
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]>Add the following fields and methods to `CreateGuild` and `UpdateGuild`:
- `CreateGuild::afk_...
b22500c44c5a8d273ad1676b1702e2fb43ead46a authored over 3 years ago by Cassandra McCarthy <[email protected]>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]>
When using a request related to webhooks don't send the client's
authorization token if a webho...
Instead of taking `&mut self` in `Shard::start`, take `&self`.
Mutability is not required here.
Use the new `RequestBuilder` for stage instance requests.
ecff368ed0cd0f3fa601eb8bbddc7af27820565e authored over 3 years ago by Cassandra McCarthy <[email protected]>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]>Add 18 additional HTTP API error codes.
Docs:
- <https://github.com/discord/discord-api-docs...
Remove usage of the `tokio::select!` macro in favor of
`futures_util::future::select`. This all...
Adds:
* `http` `Client::create_stage_instance`
* `http` `Client::delete_stage_instance`
* `ht...
Docs:
<https://github.com/discord/discord-api-docs/commit/55cd3d71082e9dc31cbd007a6e74b1cd6a82b...
Add a `RequestBuilder` to build into a `Request`. This will allow us to
make `Request` non-exha...
Additions
Add API for accessing statistics about the cache, accessible through
`InMemoryCache::...
Upgrade Path
`CreateMessage::attachments` and `CreateMessage::attachment` have been
deprecated....
Additions
Support activity buttons ([#772] - [@vivian]).
[@vivian]: https://github.com/vivian
...
Update the readme to mention 0.4 instead of 0.3.
c9c07248023dd1253c463c046396b9a4210988b9 authored over 3 years ago by Vivian Hellyer <[email protected]>
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]>
Fix the `CreateMessage::payload_json` and `ExecuteWebhook::payload_json`
methods.
Additional...
552a9a05a1cf448fa91a0a8f5b2ad8951cae731d authored over 3 years ago by Gautam Abhyankar <[email protected]>
The primary branch has been renamed from 'trunk' to 'main', so the
GitHub workflows, CONTRIBUTI...
Docs:
<https://github.com/discord/discord-api-docs/commit/5d1f03c1ad8c0a83f50e6693aeb8416aa9707...
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]>
Add the changelogs for versions 0.4.0 of all crates and bump their
versions in `Cargo.toml`s to...
786997189f061032c2121a3630f42c6bff54317c authored over 3 years ago by Vivian Hellyer <[email protected]>
Additions
Support the Update Current User Voice State and Update User Voice State
stage channel...
Documentation:
<https://github.com/discord/discord-api-docs/commit/71cc444a908401a194e8848bf184...
Percent-encode the reason for the `CreateBan` route, as otherwise it
would fail with characters...
The newest lint we're catching on in beta is still marked as
experimental in stable. This workf...
Add missing JSON errors
This patch adds support for the following json error codes:
10057 - ...
Use a custom Method enum instead of exposing `hyper`'s. This is mostly
equivalent to `hyper`'s ...
Additions
Support the `MemberUpdate::{deaf, mute}` fields ([#774] - [@7596ff]).
Support guild ...
a0a6841500f1077648a8de62c1ed81df107a2a1d authored over 3 years ago by Vivian Hellyer <[email protected]>Additions
Support the "Get Guild Welcome Screen" and "Update Guild Welcome Screen"
endpoints ([...
Additions
Support the `MemberUpdate::{deaf, mute}` fields ([#774] - [@7596ff]).
Support guild ...
070fe72766ccae54509907458d4329cc8a154f7f authored over 3 years ago by Vivian Hellyer <[email protected]>
Replace `async-tungstenite` with `tokio-tungstenite` which uses `tokio`
I/O traits instead of `...
Support the guild welcome screen endpoints:
- get guild welcome screen
- update guild welcom...
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]>Support the `USE_SLASH_COMMANDS` permission.
309af0fb2fcf183a878ee291905ef667b0eeb885 authored over 3 years ago by James Liu <[email protected]>
The current AllowedMentions implementation was messy and not
future-proof.The model itself is ...
https://github.com/discord/discord-api-docs/commit/71cc444a908401a194e8848bf184a6deab6e4fc8
57e054cc2ce4dbb27f8b24384c5cf07d81e89817 authored over 3 years ago by James Liu <[email protected]>
Add `Node::close` to close the connection and `Lavalink::disconnect` to
close the WebSocket con...
Bump the gateway `metrics` dependency to 0.14.
d76145615189d6af71734afdd5e75542c9bead11 authored over 3 years ago by James Liu <[email protected]>
Hide the `futures-channel` dependency from the API by wrapping it with a
newtype implementing t...
Support `MemberUpdate::{deaf, mute}`.
Documented in:
<https://github.com/discord/discord-api...
Upgrade Path
`CreateInvite::target_user` is deprecated, use
`CreateInvite::target_user_id`.
Ad...
52dffdced80c5338acd4a93f7e7384f38b31897a authored over 3 years ago by Vivian Hellyer <[email protected]>Upgrade Path
Handle the newly optional `AuditLogEntry::user_id` and
`Attachment::{height, width...
After updating a member via the `UpdateGuildMember` HTTP request, return
an updated copy of the...
Signed-off-by: Jens Reidel <[email protected]>
Co-authored-by: Cassandra McCarthy <cassie@759...
Signed-off-by: Cassandra McCarthy <[email protected]>
Approved-by: Valdemar Erk <[email protected]...
Signed-off-by: Cassandra McCarthy <[email protected]>
fc0ef3e21911546b1cddb1ca7368b446b8e31e74 authored over 3 years ago by Cassandra McCarthy <[email protected]>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]>
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]>
Remove the `ClientBuilder::hyper_client` method so that we don't expose
`hyper`. This also remo...
Support the `Attachment::content_type` field.
Docs:
<https://github.com/discord/discord-api-...
When a global ratelimit is received and the global lock is locked, sleep
for the provided numbe...
Global ratelimits were not being parsed prior to other headers, meaning
that the absense of oth...
Remove the `Debug` bound on the `mention` crate's `MentionIter`
`Iterator` implementation. This...
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]>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]>
Role ordering can be done position, but Discord provides zero guarantees that
positions are uni...