Skip to content

Conversation

Geczy
Copy link
Member

@Geczy Geczy commented May 18, 2025

Summary

  • move profanity arrays to JSON files under wordlists
  • load JSON word lists in profanity-wordlists.ts

Testing

  • bun run --cwd packages/profanity-filter test (fails: Cannot find module '@2toad/profanity')

- Changed import assertions from 'assert' to 'with' for loading JSON wordlists.
- Cleaned up whitespace in the profanity detection patterns for better readability.
…t handler

- Implemented error logging when channelId is not provided, enhancing debugging capabilities.
- Added logging for cases where the chat client is missing, improving error visibility in Twitch chat interactions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant