mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-12 00:30:11 +00:00
make some common flags into constants
This commit is contained in:
parent
479e0a59b5
commit
f4216a83a9
10 changed files with 95 additions and 89 deletions
|
|
@ -50,3 +50,7 @@ pub fn all() -> impl Iterator<Item = Command> {
|
|||
}
|
||||
|
||||
pub const RESET: (&str, [&str; 2]) = ("reset", ["clear", "default"]);
|
||||
|
||||
pub const CLEAR: (&str, [&str; 1]) = ("clear", ["c"]);
|
||||
pub const YES: (&str, [&str; 1]) = ("yes", ["y"]);
|
||||
pub const ALL: (&str, [&str; 1]) = ("all", ["a"]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue