serenity
serenity copied to clipboard
Help-Command Sub-Sub-Group Usage Documentation
The usage documentations in the help command of commands of sub-sub-groups are missing the first prefix.
Code Example
#[group]
#[commands(...)]
#[sub_groups(sub)]
struct Root;
#[group("Sub")]
#[prefix("sub")]
#[commands(...)]
#[sub_groups(subsub)]
struct Sub;
#[group("SubSub")]
#[prefix("subsub")]
#[commands(my_command, ...)]
struct SubSub;
When running help sub subsub my_command
, the usage would display subsub my_command [...]
instead of the expected sub subsub my_command [...]
.
Version Information
Rust version: 1.62.1 Serenity version: 0.11.5