Skip to content
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: /award command & depending services #13

Merged
merged 6 commits into from
Feb 15, 2024

Conversation

ShubhamPalriwala
Copy link
Contributor

What does this PR do?

Implements the /award x command to award points to the user!

Checklist

Required

  • Filled out the "How to test" section in this PR
  • Read How we Code at oss.gg
  • Self-reviewed my own code
  • Commented on my code in hard-to-understand bits
  • Ran pnpm build
  • Checked for warnings, there are none
  • Removed all console.logs
  • Merged the latest changes from main onto my branch with git pull origin main
  • My changes don't cause any responsiveness issues

Appreciated

  • If a UI change was made: Added a screen recording or screenshots to this PR
  • Updated the Formbricks Docs if changes were necessary

Copy link

vercel bot commented Feb 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
oss-gg ⬜️ Ignored (Inspect) Visit Preview Feb 15, 2024 10:02am

Copy link

github-actions bot commented Feb 13, 2024

Thank you for following the naming conventions for pull request titles! 🙏

@ShubhamPalriwala ShubhamPalriwala changed the title Shubham/award points command feat: /award command & depending services Feb 13, 2024
} else {
const user = await getUserByGithubId(context.payload.comment.user.id);
if (!user) {
comment = "Please register at oss.gg to be able to claim your awarded points";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would be great to create the user in oss.gg, assign him points and write the comment that they can claim the points once they've registered :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done @jobenjada 🚀

…ion & point allocation even if not signed up on ossgg
@jobenjada jobenjada merged commit ac33a3c into main Feb 15, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants