mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
use original command when ranking for possible commands if the command was from an optional branch
This commit is contained in:
parent
f72145b3db
commit
dc9b7b3e6b
2 changed files with 7 additions and 4 deletions
|
|
@ -246,9 +246,11 @@ pub fn edit() -> impl Iterator<Item = Command> {
|
|||
]
|
||||
.map(apply_list_opts);
|
||||
|
||||
let system_groups_cmd =
|
||||
once(command!(system, Optional(SystemRef), "groups", search_param => "system_groups"))
|
||||
.map(apply_list_opts);
|
||||
let system_groups_cmd = once(
|
||||
command!(system, Optional(SystemRef), "groups", search_param => "system_groups")
|
||||
.help("Lists groups in a system"),
|
||||
)
|
||||
.map(apply_list_opts);
|
||||
|
||||
let system_display_id_cmd = once(
|
||||
command!(system, Optional(SystemRef), "id" => "system_display_id")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue