aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/create_group.rs
Commit message (Collapse)AuthorAgeFilesLines
* StandardFramework::cmd and CreateGroup::cmd now register aliasescmd-aliases-fixMishio5952018-11-141-0/+18
|
* Add Option to disable bypassing Checks for Owners (#419)Lakelezz2018-10-151-1/+10
|
* Fix Default Command to inherit Group-Options (#412)Lakelezz2018-10-111-4/+4
|
* Add single group help (#385)Lakelezz2018-09-111-0/+8
|
* Add default-commands for command-groups (#351)Lakelezz2018-07-211-0/+12
|
* Support multiple prefixes for command-groups (#343)Lakelezz2018-07-151-9/+27
|
* Add checks for groups (#349)Lakelezz2018-07-151-1/+16
|
* Remove extraneous spaces at the end of linesZeyla Hellyer2018-06-171-3/+3
|
* Refactor imports/exports to use nested groups and better formattingacdenisSK2018-03-291-4/+11
|
* Fix no-cache standardframework compilation (#290)Lakelezz2018-03-151-0/+1
|
* Add a way to register middleware functions directly in `CreateCommand`acdenisSK2018-01-251-1/+1
|
* Break up the model moduleZeyla Hellyer2017-12-161-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `model` module has historically been one giant module re-exporting all of the model types, which is somewhere around 100 types. This can be a lot to look at for a new user and somewhat overwhelming, especially with a large number of fine-grained imports from the module. The module is now neatly split up into submodules, mostly like it has been internally since the early versions of the library. The submodules are: - application - channel - error - event - gateway - guild - id - invite - misc - permissions - prelude - user - voice - webhook Each submodule contains types that are "owned" by the module. For example, the `guild` submodule contains, but not limited to, Emoji, AuditLogsEntry, Role, and Member. `channel` contains, but not limited to, Attachment, Embed, Message, and Reaction. Upgrade path: Instead of glob importing the models via `use serenity::model::*;`, instead glob import via the prelude: ```rust use serenity::model::prelude::*; ``` Instead of importing from the root model module: ```rust use serenity::model::{Guild, Message, OnlineStatus, Role, User}; ``` instead import from the submodules like so: ```rust use serenity::model::channel::Message; use serenity::model::guild::{Guild, Role}; use serenity::model::user::{OnlineStatus, User}; ```
* Make help-commands customisable (#227)Lakelezz2017-11-301-8/+1
|
* Add a way to execute code when a command is registeredacdenisSK2017-11-211-2/+4
|
* Add `help()` to `CreateGroup`. (#225)Lakelezz2017-11-201-2/+10
|
* Add an impl for `Fn(&mut Context, &Message, Args)`acdenisSK2017-11-201-9/+4
|
* Add `cmd` to `Create(Command|Group)`acdenisSK2017-11-181-6/+17
|
* Change most of the framework to use trait-based-commandsacdenisSK2017-11-151-24/+7
|
* Re-order use statements alphabeticallyZeyla Hellyer2017-11-111-2/+2
|
* Fix most clippy warningsMaiddog2017-10-091-1/+1
|
* Replace Vec parameters by IntoIterator (#176)François Triquet2017-10-091-2/+2
|
* `to_owned` -> `to_string`acdenisSK2017-10-091-6/+6
|
* Change the way users' command handlers are stored asacdenisSK2017-09-291-4/+4
|
* Revamp errors in `Args` and commandsacdenisSK2017-09-231-2/+2
|
* Apply rustfmtZeyla Hellyer2017-09-181-7/+4
|
* Copy some methods from Command to Group (#164)Maiddog2017-09-111-2/+84
|
* Add ability to play DCA and Opus files. (#148)Maiddog2017-08-271-4/+7
|
* Revamp `RwLock` usage in the libacdenisSK2017-08-241-7/+4
| | | | Also not quite sure if they goofed rustfmt or something, but its changes it did were a bit bizarre.
* Fix tests (#145)Maiddog2017-08-221-4/+1
|
* Revamp the args to an `Args` structacdenisSK2017-08-201-1/+2
| | | | Fixes #142
* Move builtin framework impl to its own moduleZeyla Hellyer2017-08-191-0/+86
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.