aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change signature of EventHandler::message_update and the dispatch call to ↵fix_message_updateMishio5952018-09-052-4/+2
| | | | account for situations where the new message is not cached
* Add Member::user_idZeyla Hellyer2018-09-051-0/+14
| | | | | Adds a `user_id` method to `Member`, which is a shortcut for retrieving the member's user ID.
* Fix `has_correct_permissions` when no guild is available (#376)Lakelezz2018-08-312-5/+9
|
* Refactor Help (#375)Lakelezz2018-08-311-411/+482
|
* Add newline in MessageBuilder::push_codeblock_safeZeyla Hellyer2018-08-301-5/+7
| | | | | | | | | | | | | | | | | | | | | | | MessageBuilder::push_codeblock_safe did not add a newline after the language or code fence, resulting in an output like: ```code here``` or: ```rustcode here``` This commit fixes that, and makes the equivalent outputs: ``` code here``` and: ```rust code here``` Closes #374.
* Add more unit tests for MessageBuilderZeyla Hellyer2018-08-301-0/+205
|
* Old message on update (#368)Adelyn2018-08-264-32/+94
|
* Move low-level http functions to a raw moduleZeyla Hellyer2018-08-243-1738/+1756
| | | | | | Move the low-level http functions that work with serde maps directly into an `http::raw` module, and re-export them from the `http` module for backwards compatibility purposes.
* Properly link to User in Game docsZeyla Hellyer2018-08-241-0/+2
|
* Add support for session start info in BotGatewayZeyla Hellyer2018-08-241-0/+16
| | | | | Add support for the new information describing the current session start ratelimits given in the GET /gateway/bot endpoint.
* Fix a broken link in README (#373)Adelyn2018-08-221-2/+2
|
* Make `is_command_visible` work with DMs. (#369)Maiddog2018-08-171-0/+6
|
* Change HTTP Bulk Delete from DELETE to POSTAdelyn2018-08-171-1/+1
|
* Fix GuildChannel::_permissions_for on no-cacheZeyla Hellyer2018-08-151-1/+2
| | | | | Fix the compilation of `GuildChannel::_permissions_for` when the `cache` feature is disabled.
* Fix routing for http::create_private_channelZeyla Hellyer2018-08-131-1/+1
|
* Release v0.5.8Zeyla Hellyer2018-08-122-1/+56
|
* Use `to_`- and `as_`-methods instead of `get` and `find` on Id newtypesLakelezz2018-08-1216-53/+174
|
* Revert "Send silence frames upon connection (Fix #301)"Zeyla Hellyer2018-08-112-5/+3
| | | | | | This reverts commit 83a0c85b0bf87cb4272b5d6e189d139fc31a6d23. This makes voice sending work again.
* Add Colour::hexMishio5952018-08-111-0/+16
| | | | (cherry picked from commit 6c94e05f6a8de131d0ffc913fd6ccbad602b339e)
* Make default-command receive every bit of the command upon failureLakelezz2018-08-111-4/+3
|
* Use one macro instead of the same code twice, avoid seperated changes. (#365)Lakelezz2018-08-111-18/+13
|
* Fix `iter_quoted`'s doctestacdenisSK2018-08-101-2/+3
|
* Fix all the dead links in the docsErk-2018-08-0946-558/+551
|
* [routing] Fix various incorrect routes. (#364)Lymia Aluysia2018-08-081-4/+4
|
* Bump to v0.5.7Zeyla Hellyer2018-08-082-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a hotfix release for an incorrect warning about cache deadlocking during event dispatches in the client and fixing some routing method typos due to the HTTP rewrite. Thanks to the following for their contributions: - [@acdenisSK] - [@Lymia] - [@zeyla] Fixed - [client] Fix erroneous deadlock detection messages ([@Lymia]) [c:d1266fc] - [http] Fix some routing issues ([@zeyla]) [c:04b410e] Misc. - Slightly reword a cache update comment ([@acdenisSK]) [c:3a58090] [@acdenisSK]: https://github.com/acdenisSK [@Lymia]: https://github.com/Lymia [@zeyla]: https://github.com/zeyla [c:04b410e]: https://github.com/serenity-rs/serenity/commit/04b410ee75b2eb29f32e66fc137d3992a4972f1d [c:3a58090]: https://github.com/serenity-rs/serenity/commit/3a580909c489c328f3faa10741debd4b063e7fbd [c:d1266fc]: https://github.com/serenity-rs/serenity/commit/d1266fc3051a436f87a4778c5081c2228eb50b1c
* [http] Fix some routing issuesZeyla Hellyer2018-08-081-4/+4
| | | | | | | | | | | Fix the following issues with the routing: - AddMemberRole now POSTs instead of DELETEs - GuildBanUser now POSTs instead of DELETEs - CreateRole now POSTs instead of DELETEs - CreateWebhook now POSTs instead of DELETEs These issues arose from commit hash bbbf63868a8ef3c0f21c1896f7afb96f4d8fbcc1.
* Fix erroneous deadlock detected messages. (#363)Lymia Aluysia2018-08-081-10/+10
|
* Decringe an old commentacdenisSK2018-08-081-2/+1
|
* Bump to v0.5.6Zeyla Hellyer2018-08-072-1/+108
|
* TypoacdenisSK2018-08-071-1/+1
|
* Capitalise iacdenisSK2018-08-071-4/+4
|
* Refactor docs in `Args`acdenisSK2018-08-071-83/+102
| | | | Use Note headings also.
* Reword `ArgError`'s docs a littleacdenisSK2018-08-071-3/+2
|
* Unwrap `rfind`acdenisSK2018-08-071-6/+1
|
* Fix a usage of a private function in a testZeyla Hellyer2018-08-071-1/+1
|
* Fix compilation + tests on certain feature combosZeyla Hellyer2018-08-077-81/+132
| | | | | | | | On certain feature combinations, compilation and tests would not function correctly. This commit goes through a number of feature combinations and gates some tests behind the required features and fixes other compilation errors.
* Fix some documentation spacingZeyla Hellyer2018-08-071-17/+11
|
* Fixes all of the dead links in permissions. (#359)Erk-2018-08-071-75/+75
|
* Added support for the new PRIORITY_SPEAKER permission (#360)Erk-2018-08-071-0/+8
|
* Fix default command upon shortcut prefix and passing sub-commands to ↵Lakelezz2018-08-072-21/+52
| | | | default-command (#358)
* Do not return Result from main in testsacdenisSK2018-08-071-2/+10
| | | | This feature is special to 1.26, but we support 1.25
* Dereference a destructure insteadZeyla Hellyer2018-08-061-3/+3
|
* Remove match ergonomics usageZeyla Hellyer2018-08-061-4/+4
| | | | We support rustc 1.25.0, but match ergonomics are a 1.26.0 feature.
* Remove usage of inclusive range syntaxZeyla Hellyer2018-08-061-1/+1
| | | | We target 1.25.0, but inclusive range is 1.26.0 syntax.
* Pass failed sub-command to default-command (#357)Lakelezz2018-08-061-1/+2
| | | | Pass failed sub-command to default-command.
* Make travis build rustc 1.25.0Zeyla Hellyer2018-08-061-0/+1
|
* Add simple no-parse getters and advancer to `Args`acdenisSK2018-08-051-1/+67
|
* Fix Game From impls on no-model compilationZeyla Hellyer2018-08-051-2/+10
|
* Make http::fire, http::request publicZeyla Hellyer2018-08-052-48/+207
|
* [http] Abstract out routing methods and pathsZeyla Hellyer2018-08-053-654/+1694
|