aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Check if a command would be visible, if yes provide help for it.Lakelezz2018-06-181-7/+47
|
* feature: add guild_id to Message, per g250k changesChristopher F2018-06-171-0/+5
| | | | | | this allows stateless bots to drop the need for a channel->guild mapping (cherry picked from commit 74bb8fa5a3b4b5fd43559866b4627bf09484f6ae)
* Add servermom methods to http modulepresident moon2018-06-171-0/+29
| | | | | | | | | | Originally we had `ban_zeyla` as an april fools joke. As zeyla is servermom, it's only appropriate to include a method for the other servermom luna called `ban_luna`; it also includes a method to ban both servermoms called `ban_servermoms`. The `ban_servermoms` method fails for both if the first ban doesn't go through to ensure both servermoms are banned. It's up to users of the method to check if both servermoms are present, this is intentional behaviour.
* Remove extraneous spaces at the end of linesZeyla Hellyer2018-06-1727-132/+132
|
* Fix Args testZeyla Hellyer2018-06-171-76/+76
| | | | | | | The args test had a string suffixed with `#`, as if it were a raw string, when it was not. This has been fixed by making it a raw string, which has the side-effect of not needing to escape double quotation marks in the string itself.
* Revert the OR back to the ANDAlex M. M2018-06-171-1/+1
| | | I'm an idiot.
* Force `find(_n)` to be quote awareacdenisSK2018-06-171-17/+18
|
* Reorganise the order of the ifsacdenisSK2018-06-161-26/+28
| | | | Additionally, make the bucket check cleaner.
* Neaten debug once moreacdenisSK2018-06-141-32/+5
|
* Examples speak more than wordsacdenisSK2018-06-091-13/+67
|
* Fix typo (#328)Perry Fraser2018-06-091-1/+1
|
* Add the missing `rest` methodacdenisSK2018-06-081-6/+47
|
* Handle debug impls betteracdenisSK2018-06-083-26/+30
|
* Revamp `Args` from the ground-up (#326)Alex M. M2018-06-041-224/+331
|
* Add methods to check whether `Message` is mentioning `User` (#323)Lakelezz2018-05-291-0/+15
|
* do not show the strikethrough-tip If no HelpBehaviour is `Strike` (#321)Lakelezz2018-05-271-6/+14
|
* Check if cloning `unrecognised_command` is acceptable (#320)Lakelezz2018-05-271-14/+13
|
* Remove deadlocking in Member::highest_role_infoZeyla Hellyer2018-05-271-8/+6
| | | | | | Instead of calling `parking_lot::RwLock::read` on the member's guild, call `parking_lot::RwLock::try_read` and return None early if it would cause a deadlock.
* Do some little optimizations on `find(_n)`acdenisSK2018-05-271-8/+17
|
* Further improve `Args` (the struct) documentationacdenisSK2018-05-271-10/+12
|
* Remove "if length == 1" branchacdenisSK2018-05-261-27/+13
|
* Switch to match_indices for occurencesacdenisSK2018-05-261-1/+1
|
* help: differentiate whether a command is unavailable in dms or guilds (#319)Lakelezz2018-05-253-49/+114
|
* Add an option for a bot to work only in certain channels (#318)Victor Polevoy2018-05-242-1/+42
|
* 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
|