Commit graph

2 commits

Author SHA1 Message Date
Claude
e87963148c
Add comprehensive IRC event debugging to diagnose message reception issues
- Add global event handler to log all IRC events
- Add on_join handler to properly track channel joins
- Add on_disconnect handler to detect connection drops
- Add on_privmsg handler to catch messages that might not trigger pubmsg
- Add detailed debug logging throughout message flow
- Improve test_irc.py with same debugging capabilities
2026-01-06 12:34:11 +00:00
Claude
11b928c242
Add debug test scripts for troubleshooting
Added two diagnostic tools:

test_mention.py:
- Tests MentionDetector with various message formats
- Shows nickname generation (Kene from Kenearos)
- Displays extracted content from mentions
- Helps verify mention detection is working correctly

test_irc.py:
- Minimal IRC bot for testing message reception
- Prints all received messages to console
- Helps diagnose if IRC connection is receiving messages
- Useful for debugging connection issues

These tools help troubleshoot when bot doesn't respond:
1. Run test_mention.py to verify detection logic
2. Run test_irc.py to verify IRC message reception
2026-01-02 22:14:59 +00:00