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
Else it would not be possible to run it on a bot that is not
whitelisted for precense and member...
Signed-off-by: Valdemar Erk <[email protected]>
da2419d7f325087bd8e756b5a5b681eed9d5f073 authored almost 5 years ago by Valdemar Erk <[email protected]>Fix to UpdateStatus and INVITE_CREATE
4fa4ee58daae2cc5bd5564fe8ab4d18b51cca1a5 authored almost 5 years ago by Erk <[email protected]>
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]>Made queues work with clusters
4fbe59dccd0af11e6365d6db0d4100619e8f90de authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
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]>Signed-off-by: Valdemar Erk <[email protected]>
e3ffd6a3bd127340e89f896b94ca459ebb577167 authored almost 5 years ago by Valdemar Erk <[email protected]>
This would wait for a request and then make another just a few lines
down in the `Shard::new()` ...
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]>Signed-off-by: Valdemar Erk <[email protected]>
0299c3e3c5032b62eef911d6089d7b386fece7cc authored almost 5 years ago by Valdemar Erk <[email protected]>
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]>[http] Add multipart support for message creates
74b4f66a6daf9fe3ed766bcd6bf7db829c965eb0 authored almost 5 years ago by Erk <[email protected]>6bb64cad73a2416b3924ff3589a31ee7e5f8117b authored almost 5 years ago by kalmari <[email protected]>
Update README
c98213f95e81773154bc2405fa6c3d3539ea87ba authored almost 5 years ago by Erk <[email protected]>97b16919f3199a829bcca2d71ea8339d6a692a41 authored almost 5 years ago by Tunahan Karlibas <[email protected]>
Update the id when resuming
e9a86013b0b0be06cb375408ea3b141e1442ae2b authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
The id was not correctly updated when resuming so
resumes would fail every other time, when sayi...
Added proper support for resume.
c94809afea7334cb0faabcf29b1e5a43f88e7d4a authored almost 5 years ago by Iris Hoffmeyer <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
472a6905d4672ac6dabe0512fc814e8d058fd333 authored almost 5 years ago by Valdemar Erk <[email protected]>
This change also led to a rewamp of some of the internal
as there was Arc that was getting inval...
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]>Restructure and `#[must_use]` on `CommandBuilder`
aac9c097e30772f0206e5ecf1145188f65604c98 authored almost 5 years ago by Iris Hoffmeyer <[email protected]>
This will make it so that it will error with an error like
the following if `add()` is not calle...
Signed-off-by: Valdemar Erk <[email protected]>
5e51626837033f20fa0bdaa83b2b6a13b66a6035 authored almost 5 years ago by Valdemar Erk <[email protected]>* heartbeat avg may panic
* ok guild should work
* mISsInG MeMBErS
* ok note
* lmfao...
852a963bcd10407aa44251490e019587de9108cd authored almost 5 years ago by kalmari246 <[email protected]>Update some crates and fix examples.
f8b9e518f0e5e079d55735c3d2316ab1dcec5055 authored almost 5 years ago by Iris Hoffmeyer <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
e43d6d83e7cdd6765e34340337c4c937552c803e authored almost 5 years ago by Valdemar Erk <[email protected]>Fix sharder not working
cc35c8532171ab1e02f7a5cf664599e50465107f authored almost 5 years ago by Iris Hoffmeyer <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
1669656446efba2772f16c398d6986f64ef4e86a authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
1e7e675f6eadbe5f36d9384e66b5d56d06f883e0 authored almost 5 years ago by Valdemar Erk <[email protected]>
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]>Signed-off-by: Valdemar Erk <[email protected]>
21d2f5d3f23d60c4b9d62064fce31c11ea14c07b authored almost 5 years ago by Valdemar Erk <[email protected]>Add CODEOWNERS to dawn
5042dd67f086b0922a48bab489321919ec0bbc35 authored almost 5 years ago by THE PRESIDENT <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
95848753ec0dd4efd17a2560a620e455f947b39c authored almost 5 years ago by Valdemar Erk <[email protected]>[gateway, http, project] Metrics support
ac603a61a68f6060ac36aea8c027d7ddbcf81147 authored almost 5 years ago by Erk <[email protected]>f6f28f070f3c5da24c65dcb576fc7c9941659cef authored almost 5 years ago by Erk <[email protected]>
[WIP] Implment new events
2033140fd038135de80ab81bf7a173ba4df29a87 authored almost 5 years ago by Erk <[email protected]>dbf33f568616958664158f74ca12da4a9a497dc2 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
c94d478889122c90e1ffee6368f5cb1ff78b0e53 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Also add a PartialUser which is given with InviteCreate
6f08ff3ec88b6ec8d6dccd67c9e858742b439cda authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
https://github.com/discordapp/discord-api-docs/pull/1309 All the new
events listed in this githu...
Delete all reaction
216e903507b0ed7db440d147ddf08631820e0b7e authored almost 5 years ago by Erk <[email protected]>https://discordapp.com/developers/docs/resources/channel#create-reaction
252414060389e9f8c94559ae132e45eeba6ab1ad authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Might want to change Self::DeleteMessageSpecficReaction to something else
but I feel like this i...
d2dccfc31292cf917c5f39cc3a274fd953ad2ae4 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
- 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]>
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]>Signed-off-by: Valdemar Erk <[email protected]>
8ae856a53ad403bf8202845691ca798fe39d1297 authored almost 5 years ago by Valdemar Erk <[email protected]>Add Cluster and redesign API
2e9c76d2a0906f1a27913d2f6d8a51041b434f38 authored almost 5 years ago by Erk <[email protected]>Fix a bug with adding `Bot ` to tokens that did not need it.
f64e9a5a9f4cb746959a94a92522ec758030a325 authored almost 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
dbcdcb252f6addc572700dbb6876d7a433cdcf09 authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
a252b002c093a9ca3deb3535c4ebac5f59c4e2f4 authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
9d9d7c61e00cb28a6718ad1d956aae39f3e3b500 authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
52bc8a6c2edcbb678b354f98429a4d4513ceae0f authored almost 5 years ago by Valdemar Erk <[email protected]>Closes #24
This commit adds support for the Cluster, which will collect together
multiple shard...
The prefix would be added in all cases even if the token already
started with it, witch would le...
Adds support for case insensitive commands
04e8a5a67301a7d2c9f3d75a30157e728510e59c authored almost 5 years ago by Erk <[email protected]>8be44e687bad0c47ce76e0301c2d2cd8986db851 authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
`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]>59352fac37c9f0fbdbbd28de8c8ddedadd3f5603 authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
7b6636091752233e67fd5eb2577c30f9b4befbfa authored almost 5 years ago by Hiruna Kethaka Jayamanne <[email protected]>
Match command with trim_start_matches over starts_with
04b105d0b1875ec755b1881f7f783809d7fac424 authored almost 5 years ago by Erk <[email protected]>94c9c1435fe1b27e94e79679735d3bd1c3d7aee1 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
It seems that it's not really necessary to check if the prefix of the
message buffer matches if ...
Makes clippy happy
41c0560ed291af88b2da98a4e66fdd28a628a759 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>Makes clippy happy
c974f66a0285dbc2e5c7d613b714b7ddf2377a85 authored almost 5 years ago by Iris Faey Hoffmeyer <[email protected]>
Fixes #80 by checking to see if the first string before whitespace matches
a potentional match f...
d454451b56769a88b2a93d96492fffb00cceef3e authored almost 5 years ago by Erk <[email protected]>
Update license and some authors
ec792a31da5bb73690cf8dd73a484714ac6123a4 authored almost 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
04a49bee122a2195b7181d9a79a81d94cb40e094 authored almost 5 years ago by Valdemar Erk <[email protected]>Update models
6ebe355b9fec540f9e125bb65584f6d29598efc5 authored almost 5 years ago by Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
dea2735b9bc3bde217917fcd9a9824f74d2a77ef authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
087aeb8e86c2cbcad9e4583725917b86759c181b authored almost 5 years ago by Valdemar Erk <[email protected]>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]>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]>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]>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]>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]>Signed-off-by: Valdemar Erk <[email protected]>
8acc0c8631987bce36aaadbfb9e9b026b14846ed authored almost 5 years ago by Valdemar Erk <[email protected]>
This commit also changes the cache so if it gets a none
value as the max precense in a `GUILD_UP...
Signed-off-by: Valdemar Erk <[email protected]>
093069cd89c5f9feff8472b3c69976e6208bcdb5 authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
ceb8ee524347f3e29c3348a881857eff167d3624 authored almost 5 years ago by Valdemar Erk <[email protected]>
This change was needed because the default value
would fail with a nonses error if the value was...
Signed-off-by: Valdemar Erk <[email protected]>
da96fff095fadbdbbfb47170463e713bf193f798 authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
21026dff90fdd3fe7d59e1bba37e0683ae87a907 authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
95159e88b92bccfc0fa8f1bd591561710ab35ccf authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
ec6ae86743f2b7f780bd2336a17c0ba73d3a7ddb authored almost 5 years ago by Valdemar Erk <[email protected]>
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]>Signed-off-by: Valdemar Erk <[email protected]>
533003ec313dfa32314f20c2389c16b168d9a09f authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
281675d42c75988e9760f0efee670379f3cd3c8a authored almost 5 years ago by Valdemar Erk <[email protected]>Signed-off-by: Valdemar Erk <[email protected]>
946299fc3c73e978a39af09dd03b50b1ea44004e authored almost 5 years ago by Valdemar Erk <[email protected]>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]>
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]>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]>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]>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]>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]>
This commit also marks some fields with a serde default
instead of marking them as optionel wher...
Handle `WEBHOOKS_UPDATE`
03c10d0581ffa4e58274fbbd4ddcbfbdfb683f7d authored almost 5 years ago by Erk <[email protected]>Show the actual JSON in debug when we can't seralize a Event
5936073d01189a733f68df5073132aa5f3d2efe1 authored almost 5 years ago by Erk <[email protected]>