Skip to content

Conversation

@zzstoatzz
Copy link
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings June 7, 2025 17:34
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 updates the Slackbot API to key off the actual user who sent the message instead of the bot’s ID.

  • Change the source of the user ID from using the bot’s authorization to using the actual user information.
  • Update the user context building logic in the API.
Comments suppressed due to low confidence (1)

examples/slackbot/api.py:92

  • It appears that 'event' might not be defined in the current function context. Consider verifying that 'event' is properly set before using it or extracting the user from the appropriate object.
user_id=event.user,  # Use the actual user who sent the message, not the bot

@zzstoatzz zzstoatzz merged commit 34876cc into main Jun 7, 2025
3 of 4 checks passed
@zzstoatzz zzstoatzz deleted the fix-slackbot-user-memory branch June 7, 2025 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants