mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
system name should also accept rename
This commit is contained in:
parent
c18e72450b
commit
728913235a
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ pub fn edit() -> impl Iterator<Item = Command> {
|
||||||
command!(system, Optional(SystemRef), name => "system_show_name")
|
command!(system, Optional(SystemRef), name => "system_show_name")
|
||||||
.help("Shows the systems name"),
|
.help("Shows the systems name"),
|
||||||
);
|
);
|
||||||
let system_name_self = tokens!(system, name);
|
let system_name_self = tokens!(system, ("rename", [name]));
|
||||||
let system_name_self_cmd = [
|
let system_name_self_cmd = [
|
||||||
command!(system_name_self, CLEAR => "system_clear_name")
|
command!(system_name_self, CLEAR => "system_clear_name")
|
||||||
.flag(YES)
|
.flag(YES)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue