<*arg> / [*arg] syntax returns empty string when no argument is given
xsnowstorm opened this issue · comments
xsnowstorm commented
Describe the bug
Commands that use a *arg return an empty string when the argument is not present.
To Reproduce
Steps to reproduce the behavior:
- Create a command with usage:
[*test]
- Print the arguments when the command executes
- Run the command without any arguments
['']
will be printed to the console
Expected behavior
It should be an empty array
Additional context
This causes the member type to raise an error (fixed)