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

Migrate event handling for D#+ 5.0 #208

Merged
merged 2 commits into from
Jul 2, 2024

Conversation

FloatingMilkshake
Copy link
Collaborator

This PR closes #203.

Changed how event handlers are registered in Program.cs to match the new system in D#+ 5.0, and removed a no-longer-necessary Task.Run(async () => ... in the Channel Update event handler.

I think this is all we need to do? Events seem to be handled properly when testing.

@FloatingMilkshake FloatingMilkshake requested a review from Erisa July 2, 2024 00:40
Copy link
Owner

@Erisa Erisa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! That's a lot easier than I thought it would be, and does resolve the warnings.

@Erisa Erisa merged commit cd47e33 into main Jul 2, 2024
2 checks passed
@Erisa Erisa deleted the floatingmilkshake/migrate-event-handling branch July 2, 2024 00:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Todo: Move to new D#+ event system
2 participants