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

Extend ext.Context to store bot information #198

Merged
merged 4 commits into from
Nov 3, 2024

Conversation

PaulSonOfLars
Copy link
Owner

@PaulSonOfLars PaulSonOfLars commented Sep 25, 2024

What

Extend the ext.Context to store the ID of the bot that received this update.
This then allows for using the bot's ID in the conversation handler key strategy.

Impact

  • Are your changes backwards compatible? No - changed the NewContext method definition
  • Have you included documentation, or updated existing documentation? Y
  • Do errors and log messages provide enough context? Y

@PaulSonOfLars PaulSonOfLars changed the title Extend ext.Context to store bot info Extend ext.Context to store bot ID Sep 25, 2024
@PaulSonOfLars PaulSonOfLars force-pushed the paul/add-bot-to-context branch from 956e7cd to 846d280 Compare September 25, 2024 18:17
@PaulSonOfLars PaulSonOfLars changed the title Extend ext.Context to store bot ID Extend ext.Context to store bot information Nov 3, 2024
@PaulSonOfLars PaulSonOfLars merged commit 616c537 into v2 Nov 3, 2024
3 checks passed
@PaulSonOfLars PaulSonOfLars deleted the paul/add-bot-to-context branch November 3, 2024 19:43
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.

1 participant