Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.48k stars 682 forks source link

Discord Forums #1161

Closed ProjectCisco closed 9 months ago

ProjectCisco commented 9 months ago

Version

2.42.4

Flavor

GUI (Graphical User Interface), CLI (Command-Line Interface)

Platform

Windows 11

Export format

HTML, TXT, JSON, CSV

Steps to reproduce

Steps to reproduce Export threads and use template tokens in the path

Details

When using both GUI and CLI, I'm meet with error, unable to pull thread... on discord forum section

Checklist

Tyrrrz commented 9 months ago

Discord Forums are not channels, so they can't be directly exported as such. You need to pull threads first, then export them individually.

ProjectCisco commented 9 months ago

how do pull the threads ?

Tyrrrz commented 9 months ago

In CLI, use the channels command with --include-threads all. In GUI, enable in settings.

marwie commented 7 months ago

Hello @Tyrrrz I'm porbably missing something but where should the --include-threads option be added?

e.g.

dotnet DiscordChatExporter.Cli.dll export --token mydiscordtoken --channel somechannelid --include-threads all -o /Users/some/path

prints: Unrecognized option(s): --include-threads

marwie commented 7 months ago

Ah nevermind I guess that's it: https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Using-the-CLI.md#list-channels-in-a-server

Tyrrrz commented 7 months ago

Ah nevermind I guess that's it: master/.docs/Using-the-CLI.md#list-channels-in-a-server

Yes, that's correct.

The export command (currently?) doesn't support --include-threads.

marwie commented 7 months ago

And do I get it right that I currently have to list all channels on the whole server (and I cannot just list channels of a forum?)