mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
implement random commands, dont keep the subcommands only the flags
This commit is contained in:
parent
c00ff2f371
commit
c92c3f84f0
13 changed files with 82 additions and 24 deletions
|
|
@ -1 +1,11 @@
|
|||
use command_parser::token::TokensIterator;
|
||||
|
||||
use super::*;
|
||||
|
||||
pub fn group() -> (&'static str, [&'static str; 1]) {
|
||||
("group", ["g"])
|
||||
}
|
||||
|
||||
pub fn targeted() -> TokensIterator {
|
||||
tokens!(group(), GroupRef)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue