Properly skip flag parsing when handling proxy tags

This commit is contained in:
Ske
2020-02-22 15:21:48 +01:00
parent 8d3be79d33
commit 75947301f1
2 changed files with 5 additions and 5 deletions

View File

@@ -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) =>