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 handler helpers #133

Merged
merged 3 commits into from
Jan 19, 2024
Merged

Add handler helpers #133

merged 3 commits into from
Jan 19, 2024

Conversation

PaulSonOfLars
Copy link
Owner

What

Add new helper methods to make it easier to enable channels or edited messages on commands.

Unsure about this PR as it stands; I notice these things:

  • the AllowX fields are inconsistent; why doesnt the ChatMember handler have an AllowChannel field? or the ChatJoinRequest handlers?
  • I can't really remove them, as this would break existing bots in weird ways ("Why does my bot now do stuff in channels?")

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

@PaulSonOfLars PaulSonOfLars enabled auto-merge (squash) January 19, 2024 19:34
@PaulSonOfLars PaulSonOfLars merged commit a61db17 into v2 Jan 19, 2024
3 checks passed
@PaulSonOfLars PaulSonOfLars deleted the paul/add-handler-helpers branch January 19, 2024 19:35
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