mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-06 13:57:54 +00:00
add hidden flags that dont show up in suggestions, mainly for global flags
This commit is contained in:
parent
c92c3f84f0
commit
6d6dcc389f
2 changed files with 35 additions and 20 deletions
|
|
@ -29,9 +29,9 @@ pub fn all() -> impl Iterator<Item = Command> {
|
|||
.chain(switch::cmds())
|
||||
.chain(random::cmds())
|
||||
.map(|cmd| {
|
||||
cmd.flag(("plaintext", ["pt"]))
|
||||
.flag(("raw", ["r"]))
|
||||
.flag(("show-embed", ["se"]))
|
||||
cmd.hidden_flag(("plaintext", ["pt"]))
|
||||
.hidden_flag(("raw", ["r"]))
|
||||
.hidden_flag(("show-embed", ["se"]))
|
||||
})
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue