Conversation
- Add discord-sync/ folder with sync-discord.sh script - Supports date range filtering (--after, --before) - Supports username filtering (--username, multiple) - Supports topic/keyword filtering (--topic, multiple) - Multiple output formats (json, txt, html) - Automatic summary generation with statistics - Uses Docker (tyrrrz/discordchatexporter) for exports - Add comprehensive test suite (32 tests) - Argument parsing and validation - Path resolution - Error handling - Filename generation - Date normalization - Config integration - Fix existing test failures - test-config-loader.sh: Fix TEST_UPSTREAM_ORG handling - test-safety-checks.sh: Use config system instead of hardcoding - Add test architecture documentation - ARCHITECTURE.md explains how to write tests properly - Prevents hardcoding values - Documents TEST_UPSTREAM_ORG usage - Update .env-template with Discord token configuration - Update .gitignore to exclude exports/discord/ - Update test framework to fix duplicate summary issue All 51 tests passing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds Discord message export and summarization functionality with comprehensive test coverage.
Features Added
Discord Sync Tool (
discord-sync/)sync-discord.sh- Exports and summarizes Discord messagesDocumentation
Tests
Test Architecture
test/ARCHITECTURE.mdto prevent hardcoding valuesConfiguration
.env-templatewith Discord token documentation.gitignoreto excludeexports/discord/Testing
All tests pass:
Total: 51/51 tests passing ✅