conversation_analyzer.py generates a report of the conversation as a whole, then into gemini's context window where you can ask a questions about it.
# run with
python conversation_analyzer.py <channel_id>
Get your discord token with these instructions https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Token-and-IDs.md
There's a CLI and a GUI available in the Discord Chat Exporter repo.