mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
Properly skip flag parsing when handling proxy tags
This commit is contained in:
parent
8d3be79d33
commit
75947301f1
2 changed files with 5 additions and 5 deletions
|
|
@ -50,7 +50,7 @@ namespace PluralKit.Bot
|
|||
public string PopArgument() => _parameters.Pop();
|
||||
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 bool HasNext(bool skipFlags = true) => RemainderOrNull(skipFlags) != null;
|
||||
public string FullCommand => _parameters.FullCommand;
|
||||
|
||||
public Task<IUserMessage> Reply(string text = null, Embed embed = null) =>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue