From 66690423e8fab8bc6ed6d88be2793f94df02e6a1 Mon Sep 17 00:00:00 2001 From: Ske Date: Mon, 15 Jul 2019 21:53:55 +0200 Subject: [PATCH] Allow calling frontpercent with arguments containing spaces Closes #113 (for real this time). --- PluralKit.Bot/Commands/SystemCommands.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PluralKit.Bot/Commands/SystemCommands.cs b/PluralKit.Bot/Commands/SystemCommands.cs index fad4cceb..78f043b6 100644 --- a/PluralKit.Bot/Commands/SystemCommands.cs +++ b/PluralKit.Bot/Commands/SystemCommands.cs @@ -193,7 +193,7 @@ namespace PluralKit.Bot.Commands [Command("frontpercent")] [Alias("frontbreakdown", "frontpercent", "front%", "fp")] [Remarks("system [system] frontpercent [duration]")] - public async Task SystemFrontPercent(string durationStr = "30d") + public async Task SystemFrontPercent([Remainder] string durationStr = "30d") { var system = ContextEntity ?? Context.SenderSystem; if (system == null) throw Errors.NoSystemError;