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

Fix watchchannel bugs #3017

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Fix watchchannel bugs #3017

wants to merge 4 commits into from

Conversation

wookie184
Copy link
Contributor

Fixes 3 related issues, details in commit messages.

Closes #999
Closes #1068
Closes #1184

I decided not to typehint more precisely than dict because the rest of the cog doesn't do so and I wanted to keep this change as focused as possible.

This prevents accidentally creating new values when accessing a key
…om message queues when unwatching

This prevents the message queues being modified as they are being iterated over which caused errors
@wookie184 wookie184 added t: bug Something isn't working a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority s: needs review Author is waiting for someone to review and approve labels Apr 16, 2024
@wookie184 wookie184 requested a review from mbaruh as a code owner April 16, 2024 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a: moderation Related to community moderation functionality: (moderation, defcon, verification) p: 2 - normal Normal Priority s: needs review Author is waiting for someone to review and approve t: bug Something isn't working
Projects
None yet
2 participants