mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-06-07 20:28:38 +00:00
[commands] Skip ws before processing arguments in Greedy transformer
This commit is contained in:
parent
4fb1309e2a
commit
80aa45ed31
@ -144,6 +144,7 @@ def make_greedy_transformer(converter: Any, parameter: Parameter) -> Type[app_co
|
|||||||
view = StringView(value)
|
view = StringView(value)
|
||||||
result = []
|
result = []
|
||||||
while True:
|
while True:
|
||||||
|
view.skip_ws()
|
||||||
arg = view.get_quoted_word()
|
arg = view.get_quoted_word()
|
||||||
if arg is None:
|
if arg is None:
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user