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 gulag and voteban commands #142

Merged
merged 9 commits into from
Feb 20, 2024
Merged

Fix gulag and voteban commands #142

merged 9 commits into from
Feb 20, 2024

Conversation

Mitchdev
Copy link
Contributor

No description provided.

@Mitchdev Mitchdev added the bug Something isn't working label Jan 15, 2024
@Mitchdev Mitchdev requested a review from 11k January 15, 2024 05:38
@Mitchdev Mitchdev linked an issue Jan 27, 2024 that may be closed by this pull request
lib/services/message-relay.js Outdated Show resolved Hide resolved
lib/message-routing/message-router.js Outdated Show resolved Hide resolved
lib/commands/implementations/gulag.js Outdated Show resolved Hide resolved
lib/commands/implementations/voteban.js Outdated Show resolved Hide resolved
@Mitchdev Mitchdev requested a review from 11k February 4, 2024 05:08
Copy link
Contributor

@11k 11k left a comment

Choose a reason for hiding this comment

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

What happens if chat restarts during a gulag? The previous version of the command uses setTimeout() to call messageRelay.stopRelay(), which means things will right themselves eventually. This version only relies on pollstop events, which means things might get weird. I believe this applies to votebans, too.

lib/services/destinychat.js Show resolved Hide resolved
lib/commands/implementations/gulag.js Outdated Show resolved Hide resolved
@11k 11k merged commit b816bf7 into master Feb 20, 2024
@11k 11k deleted the gulag-voteban-fix branch February 20, 2024 20:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Gulag command no longer working with new vote system.
2 participants