Describe the bug
The messageContent parameter of the ChatCommandtemplate's executeChatCommand field will leave in the leading space of the string that is left from removing the bot's invocation phrase. For example, a command structured like this "!bot do thing" will have a message content of " do thing".
To Reproduce
Steps to reproduce the behavior:
- Create a message content command
- Use the command
- Look at the messageContent field
- See error
Expected behavior
The leading space should be removed
Describe the bug
The messageContent parameter of the ChatCommandtemplate's executeChatCommand field will leave in the leading space of the string that is left from removing the bot's invocation phrase. For example, a command structured like this "!bot do thing" will have a message content of " do thing".
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The leading space should be removed