aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* impl From<{,&'a }CurrentUser> for UserZeyla Hellyer2018-05-231-0/+24
| | | | | Implementation `From<CurrentUser> for User` and `From<&'a CurrentUser> for User`.
* Implement Mentionable for CurrentUserZeyla Hellyer2018-05-231-0/+6
|
* Fix links to the repoZeyla Hellyer2018-05-233-4/+4
| | | | | Fixes links to the repo from `https://github.com/zeyla/serenity` to `https://github.com/serenity-rs/serenity`.
* Replace (most) placeholders with actual namesacdenisSK2018-05-221-54/+54
|
* Add `Message::member` structfieldZeyla Hellyer2018-05-212-2/+23
| | | | | Adds the `Message::member` structfield, which contains a partial amount of member data (deaf and mute status, role IDs, and joined_at).
* Fix the framework example so that it makes sense and is runnableacdenisSK2018-05-051-6/+12
|
* Reword the command macro doc to be less misleadingacdenisSK2018-05-011-4/+10
|
* Update join messages constantZeyla Hellyer2018-04-271-0/+18
|
* Take 'Date' header into account when ratelimitingZeyla Hellyer2018-04-271-2/+61
| | | | | | | Take the 'Date' header into account when ratelimiting so that a server-client time offset can be calculated. This improves ratelimiting precision on the seconds-level, but is still prone to bad millisecond precision offsets.
* Remove a usage of Clone::cloneZeyla Hellyer2018-04-261-2/+2
|
* Fix panics on guild member update dispatchesZeyla Hellyer2018-04-261-10/+12
| | | | | | | | Fixes panics for Guild Member Update dispatches, a retrieval for the new version of the member sooner and checking that the member exists prior to dispatching. Closes #264.
* Fix voice hang on `.stop()`Kyle Simpson2018-04-251-1/+1
| | | | Turns out `wait` was a little *too* cooperative. Holdover until we change to real ffmpeg bindings.
* Fix "Guild Member Chunk" deserializationZeyla Hellyer2018-04-251-2/+11
|
* Log more information about failed deserializationsZeyla Hellyer2018-04-251-2/+16
| | | | | Log more information when messages over the websocket fail to deserialize properly.
* Remove empty whitespace at ends of linesZeyla Hellyer2018-04-252-4/+4
|
* Clarify a Shard sequence-off messageZeyla Hellyer2018-04-251-1/+1
| | | | | A warning message by the Shard stated that the "Heartbeat [is] off", when it's actually the sequence that is off.
* Fix dead link.Lakelezz2018-04-201-1/+1
|
* Get rid of a spurious import warningacdenisSK2018-04-201-4/+3
|
* Send silence frames upon connection (Fix #301)Kyle Simpson2018-04-202-3/+5
|
* Fix typo'd word `retrieve` (#307)Lakelezz2018-04-141-4/+4
|
* make `Options`'s fields optional (#305)Kyle Clemens2018-04-121-15/+60
|
* Turn the number-like properties of `Options` into `u64`acdenisSK2018-04-111-38/+45
|
* Handle (de)serializing `target_id` from/to a stringacdenisSK2018-04-111-2/+37
|
* do not include optional params if they are None in audit logs (#303)Kyle Clemens2018-04-111-5/+22
|
* Be consistent with the note styleacdenisSK2018-04-061-1/+3
|
* Improve docs for `Args`acdenisSK2018-04-061-19/+36
|
* Add `full_quoted`acdenisSK2018-04-051-1/+52
|
* Fix is_empty behaviour againacdenisSK2018-04-041-20/+31
| | | | And fix some style issues.
* Fix nsfw related docs (#299)Lakelezz2018-04-045-19/+15
|
* Short-circuit on an erroracdenisSK2018-04-021-37/+14
| | | | And delegate most of is_empty checking to the internal parse function
* Add http method to ban zeyla from a guildZeyla Hellyer2018-04-011-0/+14
|
* Refactor imports/exports to use nested groups and better formattingacdenisSK2018-03-2957-234/+570
|
* Add a connection timeoutZeyla Hellyer2018-03-271-1/+9
| | | | | | | | | | | Add a timeout on new connections of 15 seconds. If 15 seconds comes and no heartbeat interval has yet been received (indicating a lack of a Hello message being received), then the shard will indicate that it is in a failed state and needs to be restarted. If a Hello is received but the handshake is not further completed to a Ready stage, then a heartbeat acknowledgement check will clean up the shard and indicate its failed status.
* Fix heartbeat checkingZeyla Hellyer2018-03-272-22/+22
| | | | | If a heartbeat acknowledgement is not received, then the shard should restart.
* Fix help precendenceacdenisSK2018-03-251-3/+4
|
* Change the way ids and some enums are made (#295)Leah2018-03-2318-247/+365
| | | | | This makes them easier to be found by tools like rls. Also update struct inits to use the shorthand version for `x: x`.
* Fix Create(Embed/Message) to be consistentacdenisSK2018-03-202-13/+13
|
* Add no_run to doctests that initialize a Client (#293)Maiddog2018-03-183-22/+22
|
* Remove useless clones (#292)Maiddog2018-03-174-12/+12
|
* Fix no-cache standardframework compilation (#290)Lakelezz2018-03-155-17/+25
|
* Backport parts of 7d162b9Kyle Simpson2018-03-054-10/+109
| | | | | | | | | | | | | | | | | * Backport parts of 7d162b9. * Silent frame fixes. * Read-only playback position. * Opus Softclip for audio mixing. * Documentation for Audio structs. Not included (for now): * Bitrate control * Gutting/rework of Voice OpCodes, Heartbeats * Opus stream mixing * Minor adjustments due to manual edits.
* Support sending files with an embed (#285)Brandon Lucier2018-03-042-5/+5
|
* Properly check if the input is emptyacdenisSK2018-02-241-7/+31
|
* Pad user discriminators in content_safe to 4 digitsMegumi Sonoda2018-02-231-1/+1
| | | | This brings the function in line with the 'tag' function for User models, and with the official Discord app experience and other libraries.
* Drop implementation for ffmpeg containerKyle Simpson2018-02-201-0/+8
|
* Add documentation to `EventHandler`acdenisSK2018-02-191-2/+205
|
* Add `unrecognised_command` (#276)Lakelezz2018-02-152-2/+39
|
* Add 'Get Guild Vanity Url' endpointZeyla Hellyer2018-02-095-0/+55
| | | | Docs: <https://github.com/discordapp/discord-api-docs/commit/98f6643703012d2f3780ba730ce1191120f85dcd>
* Generalise `image`, `thumbnail`, `url` and `attachment`acdenisSK2018-02-081-8/+8
|
* Partially revert the video url changeacdenisSK2018-02-021-6/+0
|