DiscordChatExporter/.docs/Linux.md

1.1 KiB

Linux usage instructions

Installing .NET Runtime

Please follow the instructions provided here.

Downloading and using DiscordChatExporter.Cli

  1. Download DiscordChatExporter.CLI.zip and extract it to a folder.
  2. Open Terminal.
  3. Change the working directory into the extracted folder. You can do this in Terminal by typing cd, then press the SPACE key, drag and drop the extracted folder into the Terminal window, and press the ENTER key.
  4. Replace TOKEN and CHANNEL, then execute this command to export:
./DiscordChatExporter.Cli.sh export -t TOKEN -c CHANNEL

If the above command throws a "Permission denied" error, use chmod to fix the permissions:

chmod +x DiscordChatExporter.Cli.sh

Alternatively, if the script doesn't work, you can run the following command to run the application directly:

dotnet DiscordChatExporter.Cli.dll export -t TOKEN -c CHANNEL

How to get Token and Channel IDs.

There's much more you can do with DCE.CLI! Read the CLI explained page to get started.