Skip to content

Release 1.0.26

Choose a tag to compare

@bvdcode bvdcode released this 24 Sep 01:10
· 19 commits to main since this release
Improve argument parsing in TextCommandHandler.cs

Refactor the argument parsing logic in TextCommandHandler.cs to
use a List<string> for collecting arguments and a string for
building the current argument. This new implementation correctly
handles quoted arguments by checking if a part starts and ends
with a quote, or if it starts or ends with a quote and continues
to build the argument until the closing quote is found. It also
trims the quotes from the arguments and filters out any empty or
whitespace-only arguments.