mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-10 07:47:53 +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
|
|
@ -12,5 +12,5 @@ pub fn cmds() -> impl Iterator<Item = Command> {
|
|||
command!(group::targeted(), random => "group_random_member").flags(get_list_flags()),
|
||||
]
|
||||
.into_iter()
|
||||
.map(|cmd| cmd.flag(("all", ["a"])))
|
||||
.map(|cmd| cmd.flag(ALL))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue