mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Skip flag parsing when handling proxy tags
This commit is contained in:
parent
de141d629b
commit
493f7b12e5
3 changed files with 14 additions and 12 deletions
|
|
@ -48,9 +48,8 @@ namespace PluralKit.Bot
|
|||
public PKSystem System => _senderSystem;
|
||||
|
||||
public string PopArgument() => _parameters.Pop();
|
||||
public string PeekArgument() => _parameters.Peek();
|
||||
public string Remainder() => _parameters.Remainder();
|
||||
public string RemainderOrNull() => Remainder().Trim().Length == 0 ? null : Remainder();
|
||||
public string PeekArgument() => _parameters.Peek();
|
||||
public string RemainderOrNull(bool skipFlags = true) => _parameters.Remainder(skipFlags).Length == 0 ? null : _parameters.Remainder(skipFlags);
|
||||
public bool HasNext() => RemainderOrNull() != null;
|
||||
public string FullCommand => _parameters.FullCommand;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue