mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +00:00
feat: implement switch commands
This commit is contained in:
parent
15191171f5
commit
10dd499835
9 changed files with 85 additions and 45 deletions
|
|
@ -26,8 +26,8 @@ pub fn all() -> impl Iterator<Item = Command> {
|
|||
.chain(member::cmds())
|
||||
.chain(config::cmds())
|
||||
.chain(fun::cmds())
|
||||
.map(|cmd| cmd.flag(("plaintext", ["pt"])))
|
||||
.map(|cmd| cmd.flag(("raw", ["r"])))
|
||||
.chain(switch::cmds())
|
||||
.map(|cmd| cmd.flag(("plaintext", ["pt"])).flag(("raw", ["r"])))
|
||||
}
|
||||
|
||||
pub const RESET: (&str, [&str; 2]) = ("reset", ["clear", "default"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue