diff options
| author | Lakelezz <[email protected]> | 2018-09-11 17:37:44 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-09-11 17:37:44 +0200 |
| commit | 75f6516fceb6d8e124f91ae25a10f74f183337ad (patch) | |
| tree | 2d25d78512d279cf6d8f5e4e695399be617adab6 /src/framework/standard/command.rs | |
| parent | Fix to build with Rust 1.25.0. (diff) | |
| download | serenity-75f6516fceb6d8e124f91ae25a10f74f183337ad.tar.xz serenity-75f6516fceb6d8e124f91ae25a10f74f183337ad.zip | |
Add single group help (#385)
Diffstat (limited to 'src/framework/standard/command.rs')
| -rw-r--r-- | src/framework/standard/command.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/framework/standard/command.rs b/src/framework/standard/command.rs index 4d7794b..2b1149e 100644 --- a/src/framework/standard/command.rs +++ b/src/framework/standard/command.rs @@ -105,6 +105,7 @@ pub struct CommandGroup { /// will short-circuit on the first check that returns `false`. pub checks: Vec<Check>, pub default_command: Option<CommandOrAlias>, + pub description: Option<String>, } impl Default for CommandGroup { @@ -122,6 +123,7 @@ impl Default for CommandGroup { help: None, checks: Vec::new(), default_command: None, + description: None, } } } |