PluralKit/crates/command_definitions/src/group.rs

12 lines
208 B
Rust
Raw Normal View History

use command_parser::token::TokensIterator;
use super::*;
pub fn group() -> (&'static str, [&'static str; 1]) {
("group", ["g"])
}
pub fn targeted() -> TokensIterator {
tokens!(group(), GroupRef)
}