aboutsummaryrefslogtreecommitdiff
path: root/src/framework
Commit message (Collapse)AuthorAgeFilesLines
...
* | Replace Vec parameters by IntoIterator (#176)François Triquet2017-10-093-8/+8
| |
* | Revert "Use the de-generification trick."acdenisSK2017-10-091-17/+21
| | | | | | | | Makes the compiliation time just a bit worse
* | Use the de-generification trick.acdenisSK2017-10-091-23/+19
| | | | | | | | Fixes #168
* | `to_owned` -> `to_string`acdenisSK2017-10-095-26/+26
| |
* | WhoopsacdenisSK2017-10-091-2/+2
| |
* | Add a todoacdenisSK2017-10-091-0/+1
| |
* | Make the internal string publicacdenisSK2017-10-091-1/+1
| |
* | Do not to " " if none of the provided delimiters are found (#183)Jacob Helwig2017-10-072-9/+8
| |
* | Merge branch 'v0.4.1' into v0.5.0acdenisSK2017-09-302-9/+23
|\|
| * Fix a few things with the framework traitacdenisSK2017-09-302-9/+23
| |
* | Change the way users' command handlers are stored asacdenisSK2017-09-294-33/+23
|/
* Use display instead of std::error::ErroracdenisSK2017-09-251-28/+3
| | | | Kind of a bad decision but due to the compiler being a meany with impl conflicts for `From<&str>` and `From<String>`, it needs to be done. Plus it removes the useless custom struct.
* Fix tests and example 05Zeyla Hellyer2017-09-241-3/+8
|
* Use $crate for CommandErroracdenisSK2017-09-241-3/+3
|
* Revamp errors in `Args` and commandsacdenisSK2017-09-236-86/+141
|
* Remove tokio usageZeyla Hellyer2017-09-212-25/+19
|
* Also rustfmtZeyla Hellyer2017-09-183-7/+17
|
* Add Send/Sync to framework itemsZeyla Hellyer2017-09-184-15/+17
|
* Apply rustfmtZeyla Hellyer2017-09-188-113/+73
|
* Copy some methods from Command to Group (#164)Maiddog2017-09-112-3/+92
|
* Fixed admin bypass perm to framework allowed_rolesLakelezz2017-09-092-9/+13
| | | | | | This makes those with the "Administrator" permission able to bypass the `allowed_roles` check. Additionally change a usage of `len() > 0` to `is_empty()`.
* Allow commands to be limited to certain roles (#157)Lakelezz2017-09-054-9/+90
|
* Apply rustfmt fixesZeyla Hellyer2017-09-011-1/+2
|
* Add case insensitivityacdenisSK2017-09-012-1/+19
|
* Add num_args (#156)Maiddog2017-08-311-0/+8
|
* Add find and find_n (#153)Maiddog2017-08-281-0/+40
|
* Remove mut when not needed (#152)Maiddog2017-08-281-2/+2
|
* Add ability to play DCA and Opus files. (#148)Maiddog2017-08-277-66/+108
|
* Use `$crate` for `Args`acdenisSK2017-08-261-3/+3
|
* Revamp `RwLock` usage in the libacdenisSK2017-08-247-113/+68
| | | | Also not quite sure if they goofed rustfmt or something, but its changes it did were a bit bizarre.
* Use cache when possible in UserId's get method (#146)Maiddog2017-08-221-1/+1
|
* 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.