-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat: create reward plugin #3
base: main
Are you sure you want to change the base?
Conversation
Unused exports (1)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Need to post QA
src/handlers/contrib-reward.ts
Outdated
const body = payload.comment.body; | ||
|
||
if (!body.match(/rewards/i)) { | ||
logger.error(`Invalid use of slash command, use "/rewards".`, { body }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this entire conditional block's purpose.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SInce, I used hello-world.ts
file as reference, I thought may be this would help in some error handling and just imitated as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed in the next commit.
Resolves #46