From 1ea940e03e28eeaa8496cc0d8b360828cbbe9885 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Henrique=20Ivanchechen?= Date: Tue, 1 Aug 2023 19:42:46 -0300 Subject: [PATCH] trim command --- Modules/CommandModule.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/CommandModule.cs b/Modules/CommandModule.cs index 1ece9e5..242bcfe 100644 --- a/Modules/CommandModule.cs +++ b/Modules/CommandModule.cs @@ -33,7 +33,7 @@ namespace TextCommandFramework.Modules var flags = new Flags(); var withoutFlags = flags.Parse(text); - await PlayerService.Play(Context, withoutFlags, flags); + await PlayerService.Play(Context, withoutFlags.Trim(), flags); } [Command("join", RunMode = RunMode.Async)]