aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-211-23/+18
|
* 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-225-61/+70
|
* 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-197-0/+2369
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.