mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-07 22:37:54 +00:00
implement show-embed flags
This commit is contained in:
parent
02a99025dc
commit
c00ff2f371
8 changed files with 24 additions and 20 deletions
|
|
@ -27,7 +27,11 @@ pub fn all() -> impl Iterator<Item = Command> {
|
|||
.chain(config::cmds())
|
||||
.chain(fun::cmds())
|
||||
.chain(switch::cmds())
|
||||
.map(|cmd| cmd.flag(("plaintext", ["pt"])).flag(("raw", ["r"])))
|
||||
.map(|cmd| {
|
||||
cmd.flag(("plaintext", ["pt"]))
|
||||
.flag(("raw", ["r"]))
|
||||
.flag(("show-embed", ["se"]))
|
||||
})
|
||||
}
|
||||
|
||||
pub const RESET: (&str, [&str; 2]) = ("reset", ["clear", "default"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue