You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement censored words rating system for issue #13
- Add CENSORED_WORDS list in config.py with Russian and English profanity
- Add censored_words_rating property to user data model
- Implement process_censored_words_rating() method with logic:
* +1 for clean messages (no censored words)
* -1 for each censored word found
- Add 'рейтинг'/'rating' command to display user's censored words rating
- Process all messages (commands and regular messages) for rating
- Add comprehensive tests for the new functionality
- Use regex word boundaries to avoid partial matches
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <[email protected]>
0 commit comments