aboutsummaryrefslogtreecommitdiff
path: root/src/framework
Commit message (Collapse)AuthorAgeFilesLines
...
* Make args empty when no arguments are passed. (#143)Maiddog2017-08-221-1/+7
|
* Fix tests (#145)Maiddog2017-08-226-63/+72
|
* Replace `()` with actual error typesacdenisSK2017-08-221-1/+1
|
* feature-flag the vec_shift dependencyacdenisSK2017-08-211-0/+124
|
* Revamp the args to an `Args` structacdenisSK2017-08-205-139/+41
| | | | Fixes #142
* Move builtin framework impl to its own moduleZeyla Hellyer2017-08-198-1056/+1066
| | | | | | | | | | | | | | | | | The framework is now moved in its entirity to the `framework` module, with the `Framework` trait currently on its own and the builtin implementation provided. The builtin implementation has been renamed to "Standard". Upgrade path: Rename the `BuiltinFramework` import to `StandardFramework`. Instead of importing builtin framework items from `serenity::framework`, import them from `serenity::framework::standard`. This is the beginning to #60. The root `framework` module (non-standard implementation) will be built more by the time it's closed.
* Fix rustfmt lines that are too longZeyla Hellyer2017-08-181-6/+30
| | | | | Apparently rustfmt can't fix some of these, causing it to exit with 3 and therefore failing the build.
* Clippy lintsZeyla Hellyer2017-08-181-8/+12
|
* Apply rustfmtZeyla Hellyer2017-08-187-63/+113
|
* Move the Framework trait to the frameworkZeyla Hellyer2017-08-181-1/+18
|
* ClippyacdenisSK2017-08-192-4/+4
|
* Fix a failing test (#140)Bond-0092017-08-181-1/+1
|
* Add a case for `context, message, args, full_message`acdenisSK2017-08-181-0/+8
|
* Allow the user to be given the original message (as in, the message used to ↵acdenisSK2017-08-184-15/+23
| | | | construct the `args`)
* Fix args when `use_quotes` is trueacdenisSK2017-08-181-1/+1
|
* Expande CheckFailed to provide Arc<Command>(#138)Lakelezz2017-08-171-2/+2
|
* Reword thisacdenisSK2017-08-161-1/+1
| | | | It already is filled, so this needed to be reworded a bit, but anyways, *facepalm for the unecessary issue creation*. Fixes #137
* Provide the args to the checksacdenisSK2017-08-163-10/+12
|
* a little for-loop to iterator changeacdenisSK2017-08-161-3/+1
| | | | Also added .vscode to .gitignore, because it may or may not contain some stuff others wouldn't want when they're coding in it.
* `$crate_name` => `version`, and a few adjustementsacdenisSK2017-08-141-21/+13
|
* Fix string delimiters (#134)Lakelezz2017-08-132-31/+35
|
* Trim a second time for a sakeacdenisSK2017-08-121-6/+8
|
* Rewamp the custom delimeter functionality to support moreacdenisSK2017-08-122-5/+34
|
* Add support for custom delimetersacdenisSK2017-08-122-1/+29
|
* Clippy and rustfmtacdenisSK2017-08-011-4/+5
|
* Fix failing tests (#133)Andrej2017-07-312-6/+6
|
* Remove a few clonesacdenisSK2017-07-292-5/+5
|
* Fix importsacdenisSK2017-07-271-3/+3
|
* Change the config a bit, and a few nitpicksacdenisSK2017-07-277-136/+135
|
* rustfmtacdenisSK2017-07-277-181/+254
|
* Make the `framework` module feature-gated and fix the names in the helper macroacdenisSK2017-07-271-15/+1
|
* Fix the testacdenisSK2017-07-221-2/+2
| | | | >.>
* Fix #130acdenisSK2017-07-223-213/+210
| | | | Removed action support from the builtin one as well, due to it adding some uneccassery complexity and it being only asked upon by one user
* Remove the uneccessary function and `Send + Sync` boundsacdenisSK2017-07-222-20/+12
|
* Make bucket checks less cache dependentacdenisSK2017-07-222-64/+79
|
* Implement adding checks to bucketsacdenisSK2017-07-152-24/+108
| | | | Don't ask about the horrendous code for this
* Fix more doc testsacdenisSK2017-07-141-1/+3
|
* Switch to tokio for events (#122)Alex Lyon2017-07-141-4/+6
|
* Provide the command into the checksacdenisSK2017-07-133-3/+3
| | | | Although in the future, this will be changed to just bits of data of an actual command that wouldn't collide with the framework's code, but would still be useful for a check to use.
* Remove `checks_passed` in favour of the `Iterator::all` methodacdenisSK2017-07-041-11/+1
|
* Fix doc testsacdenisSK2017-07-024-45/+112
|
* Add reaction actions (#115)alex2017-06-281-1/+58
| | | Fixes #87
* Make CommandOrAlias and CommandGroup.commands public (#117)Joe K2017-06-282-3/+3
|
* Update dependenciesZeyla Hellyer2017-06-211-2/+2
|
* Split up long documentation lineZeyla Hellyer2017-06-141-1/+2
|
* Switch from #[doc(hidden)] to pub(crate)alex2017-06-144-20/+14
| | | | | | Switch from using `#[doc(hidden)]` to hide some internal functions to `pub(crate)`. The library now requires rustc 1.18.
* Make framework dynamic_prefix accept an &MessageZeyla Hellyer2017-06-133-15/+14
|
* Remove Context::{channel_id, queue}Zeyla Hellyer2017-06-132-19/+19
| | | | | | | | | The `channel_id` field on Context is no longer required internally, and is no longer of use to userland as event handlers are given the channel ID in some way where possible. `queue` is a remnant from when the Context was the primary way to interact with the REST API.
* Deprecate Client::login, add Client::newZeyla Hellyer2017-06-064-24/+29
|
* Clippy lintsZeyla Hellyer2017-06-062-17/+23
|