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

Add new GetText and GetEntities helper methods #153

Merged
merged 3 commits into from
Feb 29, 2024

Conversation

PaulSonOfLars
Copy link
Owner

What

Add new GetText and GetEntities helper methods, which handle the logic of discerning between text and media messages.

This also fixes an issue where monospace commands in captions would trigger command handlers; caused by incorrect entity handling.

Impact

  • Are your changes backwards compatible? Y
  • Have you included documentation, or updated existing documentation? Y
  • Do errors and log messages provide enough context? Y

…he logic to get either the text or caption data of a message depending on type
…ndlers when used in captions due to missing entity checks
@PaulSonOfLars PaulSonOfLars merged commit c4afe28 into v2 Feb 29, 2024
3 checks passed
@PaulSonOfLars PaulSonOfLars deleted the paul/cleanup-captions-gettext-helper branch February 29, 2024 18:36
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.

None yet

1 participant