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

[Feat] Implement Mission Pending Result. #41

Open
2 tasks
gunyu1019 opened this issue Jan 11, 2025 · 0 comments
Open
2 tasks

[Feat] Implement Mission Pending Result. #41

gunyu1019 opened this issue Jan 11, 2025 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@gunyu1019
Copy link
Owner

gunyu1019 commented Jan 11, 2025

Describe the new feature

Add Mission Approved and Reject feature.

TODO

  • Add approve, reject method at donation message class.
  • Add approve_mission and reject_mission http method at http class.

Addition Context

Example

async def on_donation(donation: chzzkpy.DonationMessage):
    # await donation.approve() or await donation.reject()
    pass

When donation status is not "PENDING", method called exception.

@gunyu1019 gunyu1019 added the enhancement New feature or request label Jan 11, 2025
@gunyu1019 gunyu1019 self-assigned this Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant