Skip to content

Conversation

@AndrewHUNGNguyen
Copy link
Contributor

Modifies the data format of praise data sent from praise bot's submitted praise form with the new format:
`
{
praise_channel: (string)
praise_gif: (string)
praise_message: (string)
praise_receiver: (string)
praise_receiver_ohack_id: (string)
praise_sender: (string)
praise_sender_ohack_id: (string)
timestamp: (string)
}

wherepraise_receiver_ohack_idis the OHack user id of the praise receiver's public profile andpraise_sender_ohack_id` is the OHack user id of the praise sender's public profile

@gregv gregv requested a review from Copilot October 29, 2025 03:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances the save_praise function by adding ohack.dev user ID mappings for both praise senders and receivers. The changes fetch corresponding ohack.dev user IDs from Slack user IDs and store them in the praise data for better user tracking and linking.

  • Adds logic to retrieve and store ohack.dev user IDs for both praise sender and receiver
  • Changes logging from debug to info level for the final save operation
  • Removes the initial debug log statement

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@gregv gregv merged commit 2595057 into opportunity-hack:develop Oct 29, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants