mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
make use of the new optional parsing and remove the _self commands
This commit is contained in:
parent
00d3840fd1
commit
32d481c6b9
3 changed files with 136 additions and 174 deletions
|
|
@ -302,6 +302,7 @@ impl<P: Into<Parameter>> From<Remainder<P>> for Parameter {
|
|||
}
|
||||
}
|
||||
|
||||
// todo: this should ideally be removed in favor of making Token::Parameter take multiple parameters
|
||||
/// skips the branch this parameter is in if it does not match
|
||||
#[derive(Clone)]
|
||||
pub struct Skip<P: Into<Parameter>>(pub P);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue