mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
fix switch commands ordering so they work properly (sw, sw edit out)
This commit is contained in:
parent
bbed401314
commit
da8ff942c9
1 changed files with 3 additions and 3 deletions
|
|
@ -17,14 +17,14 @@ pub fn cmds() -> impl Iterator<Item = Command> {
|
|||
];
|
||||
|
||||
[
|
||||
command!(switch, ("commands", ["help"]) => "switch_commands"),
|
||||
command!(switch, out => "switch_out"),
|
||||
command!(switch, r#move, OpaqueString => "switch_move"), // TODO: datetime parsing
|
||||
command!(switch, delete => "switch_delete").flag(("all", ["clear", "c"])),
|
||||
command!(switch, r#move, OpaqueString => "switch_move"), // TODO: datetime parsing
|
||||
command!(switch, edit, out => "switch_edit_out").flag(YES),
|
||||
command!(switch, edit, Optional(MemberRefs) => "switch_edit").flags(edit_flags),
|
||||
command!(switch, copy, Optional(MemberRefs) => "switch_copy").flags(edit_flags),
|
||||
command!(switch, ("commands", ["help"]) => "switch_commands"),
|
||||
command!(switch, Optional(MemberRefs) => "switch_do"),
|
||||
command!(switch, MemberRefs => "switch_do"),
|
||||
]
|
||||
.into_iter()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue