aboutsummaryrefslogtreecommitdiff
path: root/src/framework
Commit message (Collapse)AuthorAgeFilesLines
* Remove global Cache (#448)Lakelezz2018-12-183-33/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | * Update to use Rust 2018. * Update examples and use Rust 2018. * Pass cache via `Context` around instead of being global. * Remove `lazy_static` from `cache`-feature. * Update examples to use `Context`'s cache. * Replace cache's update-timeout-setting with `update_cache_timeout`. * Update documentation to stop using global cache. * Move `HttpAndCache` to `lib.rs`. * Add `__nonexhaustive`-field to `CacheAndHttp`. * Add `__nonexhaustive` in `CacheAndHttp`-initialisers. * Avoid `__nonexhaustive`-usage in doctest. * Remove unnecessary comma in `cfg`-attribute.
* Update to Rust 2018 (#445)Lakelezz2018-12-079-63/+63
|
* Change all builders to mutably borrow (#443)Ken Swenson2018-11-252-11/+11
|
* Remove everything marked `deprecated` since `v0.5.x` or older (#441)Lakelezz2018-11-191-18/+0
|
* Merge branch 'current' into v0.6.xLake Lezz2018-11-162-3/+28
|\
| * Fix Aliases not being added on Commands when using `cmd`-Method (#438)Adelyn2018-11-162-3/+28
| |
| * Add Function to call if a Message without Command has been sent (#430)Lakelezz2018-11-112-5/+68
| |
* | Underline command name and "Commands" in plain helpYarsan Hoessain2018-11-151-2/+2
| |
* | Add Function to call if a Message without Command has been sent (#430)Lakelezz2018-11-112-5/+68
| |
* | Rebase v0.6x onto currentKen Swenson2018-11-061-15/+34
| | | | | | | | | | | | Commit 64ac87621caf4f90c1c91ffc4bbf5dc13953f1c4 was excluded. Doc tests need to be fixed. Unit test were modified to comply with new functions.
* | Make sure `delimiter` clears current and default delimiters.Lake Lezz2018-11-061-1/+2
|/
* Prefix only Command (#416)Lakelezz2018-10-153-3/+46
|
* Add Option to disable bypassing Checks for Owners (#419)Lakelezz2018-10-154-2/+24
|
* Fix Default Command to inherit Group-Options (#412)Lakelezz2018-10-112-4/+19
|
* Simplify code by removing negation (#413)Lakelezz2018-10-091-4/+3
|
* A bunch of typo fixes (#404)Perry Fraser2018-10-016-18/+18
|
* Make `trim` return `&mut self` (#395)Lakelezz2018-09-211-4/+5
|
* Be able to trim whitespaceacdenisSK2018-09-191-0/+44
|
* Compile without `cache`-feature (#393)Bond-0092018-09-191-0/+5
|
* Check if a group is empty and exclude them if that's the case. (#389)Lakelezz2018-09-141-5/+9
|
* Add `Usage Sample`-field back to help. (#388)Lakelezz2018-09-141-2/+14
|
* Add tests for help (#387)Lakelezz2018-09-111-0/+81
| | | | | | * Add tests for `levenshtein_distance`-function. * Add tests for `Matrix`-struct.
* Add missing usage on plain help (#386)Lakelezz2018-09-111-1/+5
|
* Add single group help (#385)Lakelezz2018-09-113-14/+65
|
* Fix to build with Rust 1.25.0.Lakelezz2018-09-101-1/+1
|
* Fix group-prefix ambiguity in help (#384)Lakelezz2018-09-101-11/+25
|
* Check if bots are ignored before dispatching `unrecognised_command` (#381)Lakelezz2018-09-091-5/+8
|
* Suggest similar commands when using help (#377)Lakelezz2018-09-093-18/+131
|
* Fix `has_correct_permissions` when no guild is available (#376)Lakelezz2018-08-311-3/+7
|
* Refactor Help (#375)Lakelezz2018-08-311-411/+482
|
* Make `is_command_visible` work with DMs. (#369)Maiddog2018-08-171-0/+6
|
* Use `to_`- and `as_`-methods instead of `get` and `find` on Id newtypesLakelezz2018-08-121-2/+2
|
* 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-092-15/+14
|
* 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 default command upon shortcut prefix and passing sub-commands to ↵Lakelezz2018-08-071-11/+28
| | | | default-command (#358)
* Pass failed sub-command to default-command (#357)Lakelezz2018-08-061-1/+2
| | | | Pass failed sub-command to default-command.
* Add simple no-parse getters and advancer to `Args`acdenisSK2018-08-051-1/+67
|
* Update Configuration default value listingsZeyla Hellyer2018-08-031-32/+84
| | | | | | Update the default value for each method on the builder, as well as making the list of default values in the `Default` implementation's documentation up-to-date.
* Refactor `command::positions` a littleacdenisSK2018-08-031-12/+7
|
* Add a test-case for no delimitersacdenisSK2018-08-021-0/+9
|
* Check if message is empty tooacdenisSK2018-08-021-1/+1
|
* Handle no delimitersacdenisSK2018-08-021-7/+12
|
* Move unit tests into sourceZeyla Hellyer2018-08-011-0/+433
| | | | | | | | | Move the unit tests into the relevant source files. There's no need for them to be seprate, especially when the `tests` directory is meant to be for integration tests. The deserialization tests that include JSON files are still in the `tests` dir, along with the public prelude re-export tests.