mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-11 00:07:55 +00:00
fix user ref regex, system ref parsing and add s <id>
This commit is contained in:
parent
74e7af0ee1
commit
b9fb453c73
2 changed files with 10 additions and 9 deletions
|
|
@ -46,13 +46,16 @@ pub fn edit() -> impl Iterator<Item = Command> {
|
|||
.flag(("private", ["priv"]))
|
||||
.flag(ALL)
|
||||
};
|
||||
let system_info_cmd_self = once(add_info_flags(
|
||||
command!(system => "system_info_self").help("Shows information about your system"),
|
||||
));
|
||||
let system_info_cmd = once(add_info_flags(
|
||||
let system_info_cmd_self =
|
||||
once(command!(system => "system_info_self").help("Shows information about your system"))
|
||||
.map(add_info_flags);
|
||||
let system_info_cmd = [
|
||||
command!(system_target => "system_info").help("Shows information about your system"),
|
||||
command!(system_target, ("info", ["show", "view"]) => "system_info")
|
||||
.help("Shows information about your system"),
|
||||
));
|
||||
]
|
||||
.into_iter()
|
||||
.map(add_info_flags);
|
||||
|
||||
let system_name = tokens!(system_target, "name");
|
||||
let system_name_cmd =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue