aboutsummaryrefslogtreecommitdiff
path: root/src/framework
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
|
* Check if a command would be visible, if yes provide help for it.Lakelezz2018-06-181-7/+47
|
* Remove extraneous spaces at the end of linesZeyla Hellyer2018-06-174-10/+10
|
* 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
|
* 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
|
* 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
|
* 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
|
* 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.
* Short-circuit on an erroracdenisSK2018-04-021-37/+14
| | | | And delegate most of is_empty checking to the internal parse function
* Refactor imports/exports to use nested groups and better formattingacdenisSK2018-03-299-44/+110
|
* Fix help precendenceacdenisSK2018-03-251-3/+4
|
* Change the way ids and some enums are made (#295)Leah2018-03-231-2/+2
| | | | | This makes them easier to be found by tools like rls. Also update struct inits to use the shorthand version for `x: x`.
* Add no_run to doctests that initialize a Client (#293)Maiddog2018-03-183-22/+22
|