From 80aa45ed314be5d313391ffff8b65f701a2a97e4 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 15 Apr 2022 03:21:36 -0400 Subject: [PATCH] [commands] Skip ws before processing arguments in Greedy transformer --- discord/ext/commands/hybrid.py | 1 + 1 file changed, 1 insertion(+) diff --git a/discord/ext/commands/hybrid.py b/discord/ext/commands/hybrid.py index bb1cf0fac..a6186e647 100644 --- a/discord/ext/commands/hybrid.py +++ b/discord/ext/commands/hybrid.py @@ -144,6 +144,7 @@ def make_greedy_transformer(converter: Any, parameter: Parameter) -> Type[app_co view = StringView(value) result = [] while True: + view.skip_ws() arg = view.get_quoted_word() if arg is None: break