aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Reword the inner doc comment in `complex_bucket`acdenisSK2018-08-011-11/+15
|
* Reduce minimal Rust version to 1.25Zeyla Hellyer2018-07-292-4/+4
|
* Fallback to default-command if passed sub-command is wrongLakelezz2018-07-241-50/+59
|
* Compare built up length with original user-input instead of iterationsLakelezz2018-07-241-5/+16
|
* Some minor changes to `Args`acdenisSK2018-07-211-10/+9
| | | | | | | - use `?` rather than unwrap - Remove the `PartialEq<TokenKind> impl; it's not needed anymore. - Inline `at_end` because why not. - Split the second part of the while condition as an if inside the body.
* Add default-commands for command-groups (#351)Lakelezz2018-07-213-7/+51
|
* Do not suggest command if no command is actually related to input. (#350)Lakelezz2018-07-201-1/+1
|
* Use `current` to figure out the end quoteacdenisSK2018-07-191-17/+4
|
* Style LineacdenisSK2018-07-191-0/+1
|
* Merge `Token` and `TokenOwned`acdenisSK2018-07-191-26/+10
|
* Use an `Option` to denote endacdenisSK2018-07-191-18/+7
|
* Fix some clippy lintsZeyla Hellyer2018-07-153-28/+25
| | | | | Some lints were not resolved due to causing API changes. Most lints in the framework were left unfixed.
* Support multiple prefixes for command-groups (#343)Lakelezz2018-07-154-28/+62
|
* Add checks for groups (#349)Lakelezz2018-07-154-5/+34
|
* Quickly rename to `no_dm_prefix`acdenisSK2018-07-142-6/+6
| | | | Minimize assumptions that `no_prefix` would work everywhere.
* Allow for nil prefixes in DMsacdenisSK2018-07-142-1/+31
| | | | Fixes #339
* Add docs for `Args::new`acdenisSK2018-07-131-0/+27
|
* Fix doc links with no anchorZeyla Hellyer2018-07-111-0/+2
|
* Deprecate Message::guild_id()Zeyla Hellyer2018-07-091-1/+1
| | | | | Instead, using the structfield is preferred, since that comes from gateway events directly now anyway.
* Remove deprecated use of Colour associated methodsZeyla Hellyer2018-07-081-2/+2
|
* Don't assume all characters at end are 1-lengthacdenisSK2018-07-061-2/+17
| | | | Unicode characters usually span out to more than 1-length. This would cause crashes when they appeared at the end
* Add missing Send and Sync boundsacdenisSK2018-06-211-1/+1
|
* Miscellaneous changes in ArgsacdenisSK2018-06-211-267/+286
| | | | | | - Do not be lazy and DO add an example for the `_*` methods. - Reorganize the methods so they're more coherent. - Use the `rest` method than to rely on deref (which in turn relies on `full`).
* Directly use the iteratoracdenisSK2018-06-211-2/+2
|
* And another (function call) repetionacdenisSK2018-06-211-2/+4
|
* Remove slight repetitionacdenisSK2018-06-211-12/+7
|
* If no help is available, command is not visible thus return false.Lakelezz2018-06-181-3/+1
|
* Rename from `is_command_hidden` to `is_command_visible`.Lakelezz2018-06-181-5/+5
|