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

Changed intents to be an optional as it still is that for v6

Else it would not be possible to run it on a bot that is not
whitelisted for precense and member...

bfaf4ee37adf9cf9411e9acbcf5024ff6e850f48 authored almost 5 years ago by Valdemar Erk <[email protected]>
Added support for gateway intents.

Signed-off-by: Valdemar Erk <[email protected]>

da2419d7f325087bd8e756b5a5b681eed9d5f073 authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #110 from Erk-/model-fixes-2020-02-28

Fix to UpdateStatus and INVITE_CREATE

4fa4ee58daae2cc5bd5564fe8ab4d18b51cca1a5 authored almost 5 years ago by Erk <[email protected]>
Fix to UpdateStatus and INVITE_CREATE

UpdateStatus was errorously sending a indentify instead of an status
update opcode.

INVITE_CREA...

d386b65d34438fda3aec012f260a719d39307f3d authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #103 from Erk-/queueueueueueueueueue

Made queues work with clusters

4fbe59dccd0af11e6365d6db0d4100619e8f90de authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
Make Clippy happy for now

The lint allowance will be removed at a later stage, when we begin to
write docs.

Signed-off-by...

f45bdcccb3aad1adcbcbb35ab1cd6c71fe5d7b8d authored almost 5 years ago by Valdemar Erk <[email protected]>
Changed some warnings to debugs and others to info.

Signed-off-by: Valdemar Erk <[email protected]>

e3ffd6a3bd127340e89f896b94ca459ebb577167 authored almost 5 years ago by Valdemar Erk <[email protected]>
Remove request that were not needed

This would wait for a request and then make another just a few lines
down in the `Shard::new()` ...

c9991625343e8772ebb3beb700428514e9ec0692 authored almost 5 years ago by Valdemar Erk <[email protected]>
Only wait for allowance when doing a full reconnection.

Before we would also query the queue when doing resumes
and that is not needed.

Signed-off-by: ...

77070e35b17ab64674f96b5c5fb423eba4ce60bd authored almost 5 years ago by Valdemar Erk <[email protected]>
Run rustfmt and make clippy happy

Signed-off-by: Valdemar Erk <[email protected]>

0299c3e3c5032b62eef911d6089d7b386fece7cc authored almost 5 years ago by Valdemar Erk <[email protected]>
Made queues work with clusters

Made the queue an Arc to make sure that all shards in a cluster use
the same queue.

Loosend a t...

44afbef6e659c656a7df08c20cf6efb30e81c4c8 authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #108 from kalmari246/master

[http] Add multipart support for message creates

74b4f66a6daf9fe3ed766bcd6bf7db829c965eb0 authored almost 5 years ago by Erk <[email protected]>
[http] Add multipart support #27

6bb64cad73a2416b3924ff3589a31ee7e5f8117b authored almost 5 years ago by kalmari <[email protected]>
Merge pull request #104 from dvtkrlbs/update-readme

Update README

c98213f95e81773154bc2405fa6c3d3539ea87ba authored almost 5 years ago by Erk <[email protected]>
Update README and lib.rs

97b16919f3199a829bcca2d71ea8339d6a692a41 authored almost 5 years ago by Tunahan Karlibas <[email protected]>
Merge pull request #96 from Erk-/fix/resume-id

Update the id when resuming

e9a86013b0b0be06cb375408ea3b141e1442ae2b authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
Update the id when resuming

The id was not correctly updated when resuming so
resumes would fail every other time, when sayi...

a7481e0305b2529ee8c782d25bb460c4cbb2734c authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #94 from Erk-/resume

Added proper support for resume.

c94809afea7334cb0faabcf29b1e5a43f88e7d4a authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
Reverse bool to make code more clear

Signed-off-by: Valdemar Erk <[email protected]>

472a6905d4672ac6dabe0512fc814e8d058fd333 authored almost 5 years ago by Valdemar Erk <[email protected]>
Added proper support for resume.

This change also led to a rewamp of some of the internal
as there was Arc that was getting inval...

bbdf48fada57cb5e64342e38b657b64ebfebf0f6 authored almost 5 years ago by Valdemar Erk <[email protected]>
Update to work with new version of tungstenite

This is as a reexported dependency through tokio-tungstenite

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

8674c14725b92702c18981e5e320a54d4fd443fb authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #93 from Erk-/command-restructure

Restructure and `#[must_use]` on `CommandBuilder`

aac9c097e30772f0206e5ecf1145188f65604c98 authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
Add `#[must_use]` to `CommandBuilder`

This will make it so that it will error with an error like
the following if `add()` is not calle...

48e596fe28046ea6ed947a91114839cefbba76dd authored almost 5 years ago by Valdemar Erk <[email protected]>
Restructure `command-parser`

Signed-off-by: Valdemar Erk <[email protected]>

5e51626837033f20fa0bdaa83b2b6a13b66a6035 authored almost 5 years ago by Valdemar Erk <[email protected]>
Fix divide by zero panic, and fix parts of the Guild model (#92)

* heartbeat avg may panic

* ok guild should work

* mISsInG MeMBErS

* ok note

* lmfao...

852a963bcd10407aa44251490e019587de9108cd authored almost 5 years ago by kalmari246 <[email protected]>
Merge pull request #91 from Erk-/cargotopia-1

Update some crates and fix examples.

f8b9e518f0e5e079d55735c3d2316ab1dcec5055 authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
Update some crates and fix examples.

Signed-off-by: Valdemar Erk <[email protected]>

e43d6d83e7cdd6765e34340337c4c937552c803e authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #88 from Erk-/rategatelimits

Fix sharder not working

cc35c8532171ab1e02f7a5cf664599e50465107f authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
Fix failing test.

Signed-off-by: Valdemar Erk <[email protected]>

1669656446efba2772f16c398d6986f64ef4e86a authored almost 5 years ago by Valdemar Erk <[email protected]>
Updated the sharder to actually work.

Signed-off-by: Valdemar Erk <[email protected]>

1e7e675f6eadbe5f36d9384e66b5d56d06f883e0 authored almost 5 years ago by Valdemar Erk <[email protected]>
Changed shard and cluster builders to be consuming.

Reasoning: It could easily give hard to fix borrowing
issues to not have it like this.

Though t...

bc77dbbf38f9300ea6b9c6ab7273d9015aec0c72 authored almost 5 years ago by Valdemar Erk <[email protected]>
Typo in the device rename.

Signed-off-by: Valdemar Erk <[email protected]>

21d2f5d3f23d60c4b9d62064fce31c11ea14c07b authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #90 from Erk-/codeowners

Add CODEOWNERS to dawn

5042dd67f086b0922a48bab489321919ec0bbc35 authored almost 5 years ago by THE PRESIDENT <[email protected]>
Add CODEOWNERS to dawn

Signed-off-by: Valdemar Erk <[email protected]>

95848753ec0dd4efd17a2560a620e455f947b39c authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #76 from Erk-/metrics

[gateway, http, project] Metrics support

ac603a61a68f6060ac36aea8c027d7ddbcf81147 authored almost 5 years ago by Erk <[email protected]>
Merge branch 'master' into metrics

f6f28f070f3c5da24c65dcb576fc7c9941659cef authored almost 5 years ago by Erk <[email protected]>
Merge pull request #87 from Arzte/new_events

[WIP] Implment new events

2033140fd038135de80ab81bf7a173ba4df29a87 authored almost 5 years ago by Erk <[email protected]>
Actually add events to try_from, so dawn with deserialize them

dbf33f568616958664158f74ca12da4a9a497dc2 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Change PartialEmoji to use EmojiId, and change fields to be correct name

c94d478889122c90e1ffee6368f5cb1ff78b0e53 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Change the numbers to be the next unused

Also add a PartialUser which is given with InviteCreate

6f08ff3ec88b6ec8d6dccd67c9e858742b439cda authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Implment new events

https://github.com/discordapp/discord-api-docs/pull/1309 All the new
events listed in this githu...

153b2d37d680b0b2a9bc4b79de6d88aeef34e687 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Merge pull request #85 from Arzte/delete_all_reaction

Delete all reaction

216e903507b0ed7db440d147ddf08631820e0b7e authored almost 5 years ago by Erk <[email protected]>
Create Reaction requires /@me at the end of the endpoint

https://discordapp.com/developers/docs/resources/channel#create-reaction

252414060389e9f8c94559ae132e45eeba6ab1ad authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Delete All Reactions for Emoji endpoint

Might want to change Self::DeleteMessageSpecficReaction to something else
but I feel like this i...

00d8d8878e7f8fa14ccd4b19408ebcbbc947976d authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Make clippy happy

d2dccfc31292cf917c5f39cc3a274fd953ad2ae4 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Added more metrics.

- Shard count when using cluster.
- Information about the inflater per shard.

Signed-off-by: Va...

af26f4cd474b76f8ef28e1b0e08c8dd84d43eab7 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add metrics support to dawn-gateway.

Also introduces a new feature `metrics` in `dawn`
to enable it.

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

f4319b87873439ffc9dc0a3633b804874ae1e7fd authored almost 5 years ago by Valdemar Erk <[email protected]>
Various fixes for the metrics

Signed-off-by: Valdemar Erk <[email protected]>

8ae856a53ad403bf8202845691ca798fe39d1297 authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #84 from Erk-/feature/cluster

Add Cluster and redesign API

2e9c76d2a0906f1a27913d2f6d8a51041b434f38 authored almost 5 years ago by Erk <[email protected]>
Merge pull request #83 from Erk-/bug/double-bot-token-mishap

Fix a bug with adding `Bot ` to tokens that did not need it.

f64e9a5a9f4cb746959a94a92522ec758030a325 authored almost 5 years ago by Erk <[email protected]>
Chore: rustfmt

Signed-off-by: Valdemar Erk <[email protected]>

dbcdcb252f6addc572700dbb6876d7a433cdcf09 authored almost 5 years ago by Valdemar Erk <[email protected]>
pub use Cluster like shard

Signed-off-by: Valdemar Erk <[email protected]>

a252b002c093a9ca3deb3535c4ebac5f59c4e2f4 authored almost 5 years ago by Valdemar Erk <[email protected]>
Made the cluster example better.

Signed-off-by: Valdemar Erk <[email protected]>

9d9d7c61e00cb28a6718ad1d956aae39f3e3b500 authored almost 5 years ago by Valdemar Erk <[email protected]>
Fix documentation.

Signed-off-by: Valdemar Erk <[email protected]>

52bc8a6c2edcbb678b354f98429a4d4513ceae0f authored almost 5 years ago by Valdemar Erk <[email protected]>
Add Cluster and redesign API

Closes #24

This commit adds support for the Cluster, which will collect together
multiple shard...

82f4453d3839880b8398a19d4e7ec3e86d2a01e1 authored almost 5 years ago by Valdemar Erk <[email protected]>
Fix a bug with adding `Bot ` to tokens that did not need it.

The prefix would be added in all cases even if the token already
started with it, witch would le...

943a115ea98c6fa24930906a16ec939b920d93bf authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #82 from HiruNya/case-insensitive-commands

Adds support for case insensitive commands

04e8a5a67301a7d2c9f3d75a30157e728510e59c authored almost 5 years ago by Erk <[email protected]>
Cleans up some unclear code and documentation

8be44e687bad0c47ce76e0301c2d2cd8986db851 authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
Revises API to add commands

`Config` now emits a `CommandBuilder` struct when `Config::command` is called and calling `Comma...

19c78a3325b7e4428e18a081f1f4126ea3221515 authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
Case sensitivity is determined per command

59352fac37c9f0fbdbbd28de8c8ddedadd3f5603 authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
Adds support for case insensitive commands

7b6636091752233e67fd5eb2577c30f9b4befbfa authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
Merge pull request #81 from Arzte/command_parser/fix_find_command

Match command with trim_start_matches over starts_with

04b105d0b1875ec755b1881f7f783809d7fac424 authored almost 5 years ago by Erk <[email protected]>
Rewrite the double_command test

94c9c1435fe1b27e94e79679735d3bd1c3d7aee1 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Remove starts_with

It seems that it's not really necessary to check if the prefix of the
message buffer matches if ...

9b2f318198ebae3e9ef9056f8af9356dbaabb535 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Use ascii literals instead of non ascci literals

Makes clippy happy

41c0560ed291af88b2da98a4e66fdd28a628a759 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Remove unnecessary struct name repetition

Makes clippy happy

c974f66a0285dbc2e5c7d613b714b7ddf2377a85 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Match command against the first string before whitespace

Fixes #80 by checking to see if the first string before whitespace matches
a potentional match f...

814997b49b32fe61e012c5320bacddb4d4ba51ca authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Fix a spelling and formatting mistake

d454451b56769a88b2a93d96492fffb00cceef3e authored almost 5 years ago by Erk <[email protected]>
Merge pull request #78 from Erk-/box-test

Update license and some authors

ec792a31da5bb73690cf8dd73a484714ac6123a4 authored almost 5 years ago by Erk <[email protected]>
Update license and some authors

Signed-off-by: Valdemar Erk <[email protected]>

04a49bee122a2195b7181d9a79a81d94cb40e094 authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #75 from Erk-/model-fixes-2019-12-28

Update models

6ebe355b9fec540f9e125bb65584f6d29598efc5 authored almost 5 years ago by Erk <[email protected]>
Revert 4fbc8b0 as it was already there.

Signed-off-by: Valdemar Erk <[email protected]>

dea2735b9bc3bde217917fcd9a9824f74d2a77ef authored almost 5 years ago by Valdemar Erk <[email protected]>
CHORE: Make Clippy and Fmt happy

Signed-off-by: Valdemar Erk <[email protected]>

087aeb8e86c2cbcad9e4583725917b86759c181b authored almost 5 years ago by Valdemar Erk <[email protected]>
Fix spelling mistake

cf. https://github.com/discordapp/discord-api-docs/pull/1192

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

d4ebf78cc85ba0906a5f9ee2757b596617050718 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add member to reaction objects.

cf. https://github.com/discordapp/discord-api-docs/pull/1202

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

e96ba29c74a343297af725760bff56ed991ac2bc authored almost 5 years ago by Valdemar Erk <[email protected]>
Added `optional_entry_info.message_id`

cf. https://github.com/discordapp/discord-api-docs/pull/1204

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

78d18bd8987e47354b536a478d0b4946c4c1f88a authored almost 5 years ago by Valdemar Erk <[email protected]>
Added `audit_log.integrations`

cf. https://github.com/discordapp/discord-api-docs/pull/1206

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

443247a9ad57fd0d91cdfdbf9210a697d51c6917 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add `activity.created_at`

cf. https://github.com/discordapp/discord-api-docs/pull/1208

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

4fbc8b0b82f448aa7e36d5c9b8986ca4a6a48d3e authored almost 5 years ago by Valdemar Erk <[email protected]>
Mark `premium_subscribtion_count` as optional.

Signed-off-by: Valdemar Erk <[email protected]>

8acc0c8631987bce36aaadbfb9e9b026b14846ed authored almost 5 years ago by Valdemar Erk <[email protected]>
Change Guild.max_presences to be optional

This commit also changes the cache so if it gets a none
value as the max precense in a `GUILD_UP...

f41fddfbf3c85577f21842e269d27b6deaf6b34e authored almost 5 years ago by Valdemar Erk <[email protected]>
CHORE: Rustfmt

Signed-off-by: Valdemar Erk <[email protected]>

093069cd89c5f9feff8472b3c69976e6208bcdb5 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add serde(default) back else it would fail if it were not present.

Signed-off-by: Valdemar Erk <[email protected]>

ceb8ee524347f3e29c3348a881857eff167d3624 authored almost 5 years ago by Valdemar Erk <[email protected]>
Changed how `max_presences` is deserialized

This change was needed because the default value
would fail with a nonses error if the value was...

5713ffef16687df5a647980c030e3b657f01d58b authored almost 5 years ago by Valdemar Erk <[email protected]>
Fix GuildDelete for cache

Signed-off-by: Valdemar Erk <[email protected]>

da96fff095fadbdbbfb47170463e713bf193f798 authored almost 5 years ago by Valdemar Erk <[email protected]>
Correct the `GUILD_DELETE` event

Signed-off-by: Valdemar Erk <[email protected]>

21026dff90fdd3fe7d59e1bba37e0683ae87a907 authored almost 5 years ago by Valdemar Erk <[email protected]>
This optional is not needed according to the docs.

Signed-off-by: Valdemar Erk <[email protected]>

95159e88b92bccfc0fa8f1bd591561710ab35ccf authored almost 5 years ago by Valdemar Erk <[email protected]>
Update the emoji model to be correct.

Signed-off-by: Valdemar Erk <[email protected]>

ec6ae86743f2b7f780bd2336a17c0ba73d3a7ddb authored almost 5 years ago by Valdemar Erk <[email protected]>
Add renaming of type to kind to `MessageActivity`

I also looked through the rest of the crate to make sure we are not
missing this elsewhere.

Sig...

469eb5b85f556c603fc88acf9cdba0b8fa25c1a0 authored almost 5 years ago by Valdemar Erk <[email protected]>
CHORE: Run rustfmt

Signed-off-by: Valdemar Erk <[email protected]>

533003ec313dfa32314f20c2389c16b168d9a09f authored almost 5 years ago by Valdemar Erk <[email protected]>
Make Clippy happy with my changes.

Signed-off-by: Valdemar Erk <[email protected]>

281675d42c75988e9760f0efee670379f3cd3c8a authored almost 5 years ago by Valdemar Erk <[email protected]>
Update the cache with the new definitions.

Signed-off-by: Valdemar Erk <[email protected]>

946299fc3c73e978a39af09dd03b50b1ea44004e authored almost 5 years ago by Valdemar Erk <[email protected]>
Add new message fields and flags.

This commit also adds some other fields that was not present.

cf. https://github.com/discordapp...

324095dc3dce39c7f3d408a032a950b9d9b3cb0f authored almost 5 years ago by Valdemar Erk <[email protected]>
Add optionel member field to `typing_start`

This commit also adds the `guild_id` field
which seems to have been added at some point.

cf. ht...

4e6f90d652dc5392af3ea8baad31f3484e69ea53 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add new fields to `presence_update` event

The new fields are `premium_since` and `nick`

cf. https://github.com/discordapp/discord-api-doc...

ba8cc0260671233e3a29f4d72209b89d0dc281a7 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add `target_user` fields to the create channel invite call.

cf. https://github.com/discordapp/discord-api-docs/pull/1234

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

1281834d88a25e1d6bfb5a527db9679b1813b78b authored almost 5 years ago by Valdemar Erk <[email protected]>
[model/invite] Move the field `inviter` to the main struct

cf. https://github.com/discordapp/discord-api-docs/pull/1270

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

292a56c15c03ff8fab069183d728eec74257e546 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add `premium_since` to member updates

cf. https://github.com/discordapp/discord-api-docs/pull/1261

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

95242878edbb6ad2ccce85f5b0c162af06498354 authored almost 5 years ago by Valdemar Erk <[email protected]>
Add missing fields to the guild.

This commit also marks some fields with a serde default
instead of marking them as optionel wher...

5b1fcaf7e5b12812c386590b352b08517e4a005e authored almost 5 years ago by Valdemar Erk <[email protected]>
Merge pull request #72 from Erk-/webhooks

Handle `WEBHOOKS_UPDATE`

03c10d0581ffa4e58274fbbd4ddcbfbdfb683f7d authored almost 5 years ago by Erk <[email protected]>
Merge pull request #73 from Arzte/broken_json_debug

Show the actual JSON in debug when we can't seralize a Event

5936073d01189a733f68df5073132aa5f3d2efe1 authored almost 5 years ago by Erk <[email protected]>