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

Handle more chat events #2

Merged
merged 3 commits into from
Mar 16, 2024
Merged

Handle more chat events #2

merged 3 commits into from
Mar 16, 2024

Conversation

seabeya
Copy link
Owner

@seabeya seabeya commented Mar 16, 2024

  • Added new chat event handlers: onSubscription, onResub, onCheer
  • Small optimizations

Fixes: #1 (1/2)

seabeya added 3 commits March 16, 2024 13:50
…pace cost)

No more linear array search using `.includes()` to check if a user is being tracked or not on every message event. Instead we are using `Set()`.
…factor general message handling structure
@seabeya seabeya self-assigned this Mar 16, 2024
@seabeya seabeya added the enhancement New feature or request label Mar 16, 2024
@seabeya seabeya merged commit b91877f into main Mar 16, 2024
@seabeya seabeya deleted the dev branch March 16, 2024 23:49
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

Successfully merging this pull request may close these issues.

Cheers are not tracked
1 participant