-
Notifications
You must be signed in to change notification settings - Fork 76
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
Points: Also support prefix increments #441
Comments
That sounds cool, I'm not sure how much more complicated it will make the points regex odin-bot-v2/botCommands/points.js Line 111 in 3860977
@TheOdinProject/maintainers what do we think? |
Instead of using each of the different points regex individually in the
Then just check whether for "userRegex followed by givePointsRegex | givePointsRegex followed by userRegex". Doesn't really make it less complicated, but maybe a little easier to read?
|
The above sounds very reasonable. I like the idea of supporting pre-increment. |
Complete the following REQUIRED checkboxes:
I have thoroughly read and understand The Odin Project Contributing Guide
The title of this issue follows the
command name: brief description of request
format, e.g./help: add optional @user parameter
The following checkbox is OPTIONAL:
1. Description of the Feature Request:
Sometimes people use the wrong form of increment (++prefix rather than postfix++), when trying to give someone points, which doesn't work. It would be neat if this also worked
2. Acceptance Criteria:
++@example
works the same as@example++
3. Additional Information:
The text was updated successfully, but these errors were encountered: