-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade slash-commands support #6
Comments
It may be a good idea to detect the first char of every line, leaving other slash strings untouched. e.g.
|
That's a good idea. Then we can just use the rest of that line for arguments to the command. So it could be:
|
Yes. That's exactly the way other slash commands utility/tools does. After you pushed the initial codes, we can add more sub commands :) |
and the |
I've read the code. It's clean and clear :) |
Currently, the tool checks for the whole comment body to match the command. It may be more convenient to check for the command to show up anywhere in the body of the comment.
The text was updated successfully, but these errors were encountered: