mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-16 20:02:42 +00:00
Updated error messages, removed dotnet not found from macos because it might be different in catalina
@@ -24,7 +24,7 @@ No. That's why it's important for this kind of software to be open source, so th
|
||||
Your token is only used to connect to Discord's API, it's not sent to anywhere else.<br>
|
||||
If you're using the GUI, be aware that your token will be saved to a plain text file unless you disable it in the settings menu.
|
||||
|
||||
### Why should I be worried about the safety of my Token?
|
||||
### Why should I be worried about the safety of my token?
|
||||
A token can be used to log into your account, so treat it like a password and never share it.
|
||||
|
||||
### How can I reset my token?
|
||||
@@ -51,8 +51,7 @@ Yes.
|
||||
# First steps
|
||||
|
||||
### How can I find my token?
|
||||
Check the following page:
|
||||
* [Obtaining token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
|
||||
Check the following page: [Obtaining token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
|
||||
|
||||
### My token is disappearing too quickly, I can't copy it!
|
||||
**1.** Open the developer tools by pressing **Ctrl+Shift+I** (⌘⌥I on a Mac) on Discord<br>
|
||||
@@ -86,14 +85,12 @@ Check the following pages to learn how to schedule **DiscordChatExporter.CLI** r
|
||||
Try opening it with a different program, try partitioning or use a different file format, like `TXT` (aka `PlainText`).
|
||||
|
||||
### DCE is crashing/failing.
|
||||
Check the following page:
|
||||
* [Installing .NET Core Runtime](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)
|
||||
Check the following page: [Installing .NET Core Runtime](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)
|
||||
|
||||
If you already have the latest **recommended** .NET Core version installed, please check if it's a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue) before [opening a new one](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).
|
||||
|
||||
### .NET Core Runtime is required.
|
||||
Check the following page:
|
||||
* [Installing .NET Core Runtime](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)
|
||||
Check the following page: [Installing .NET Core Runtime](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)
|
||||
|
||||
# CLI
|
||||
|
||||
@@ -103,75 +100,53 @@ Check the following page:
|
||||
|
||||
If you're using **Docker**, please refer to the [Docker Usage Instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions).
|
||||
|
||||
### I can't find Docker exported chats
|
||||
Check the following page:
|
||||
* [Docker usage instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#file-output)
|
||||
|
||||
### Where are the 'Channel IDs'?
|
||||
Check the following page:
|
||||
* [Obtaining Channel IDs](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
|
||||
|
||||
### I can't export Direct Messages
|
||||
Make sure you're [copying the DM Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-a-direct-message-channel-id), not the person's User ID.
|
||||
### I can't find Docker exported chats
|
||||
Check the following page:
|
||||
* [Docker usage instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions#file-output)
|
||||
|
||||
### Option '-b' parse error: could not parse 'BOTTOKEN' to 'System.Boolean'
|
||||
`-b` does not require a value, it just tells that the token is a bot token. The correct usage is:
|
||||
```powershell
|
||||
DiscordChatExporter.Cli.exe export -t BOTTOKEN -b -c CHANNEL
|
||||
```
|
||||
### I can't export Direct Messages
|
||||
Make sure you're [copying the DM Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-a-direct-message-channel-id), not the person's user ID.
|
||||
|
||||
### Username is not in the sudoers file. This incident will be reported
|
||||
Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot.
|
||||
|
||||
### dotnet command not found
|
||||
For **macOS only**:<br>
|
||||
Try restarting your computer before following the instructions below.<br>
|
||||
Adding `/usr/local/share/dotnet` to your `PATH` might solve it.<br>
|
||||
**1.** Run the command `sudo nano /etc/paths`. You will be prompted for your password and you won't be able to see it as you type<br>
|
||||
**2.** In a new paragraph, paste `/usr/local/share/dotnet`. Use the keyboard arrows to move the cursor<br>
|
||||
**3.** Hit Control+O, then Control+X<br>
|
||||
**4.** Open a new terminal window and try running the `dotnet` command again<br>
|
||||
|
||||
### Errors
|
||||
|
||||
```
|
||||
DiscordChatExporter.Core.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: Unauthorized - UNAUTHORIZED
|
||||
DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Authentication token is invalid.
|
||||
...
|
||||
```
|
||||
↳ Make sure the token is correct. If it is a bot token, don't forget to use `-b`.
|
||||
<br>
|
||||
|
||||
|
||||
```
|
||||
DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Requested resource does not exist.
|
||||
```
|
||||
↳ Check your channel ID, it might be invalid. [Read this if you need help](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
|
||||
<br>
|
||||
|
||||
```
|
||||
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
|
||||
...
|
||||
DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Access is forbidden.
|
||||
```
|
||||
↳ Make sure the arguments and the options (-t, -b, -c...) are correct.
|
||||
↳ This means you don't have access to the channel.
|
||||
<br>
|
||||
The command should be like the follwing:
|
||||
|
||||
`DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
|
||||
|
||||
```
|
||||
Can't convert value "TOKEN" to type 'Boolean' for option --bot|-b.
|
||||
String 'TOKEN' was not recognized as a valid Boolean.
|
||||
```
|
||||
↳ `-b` does not require a value, it just tells that the token is a bot token. The correct usage is: `DiscordChatExporter.Cli.exe export -t BOTTOKEN -b -c CHANNEL`
|
||||
<br>
|
||||
|
||||
```
|
||||
The application to execute does not exist:
|
||||
```
|
||||
↳ The `DiscordChatExporter.Cli.dll` file is missing. Keep the `.exe` and the `.dll` files together. If you didn't move the files, try unzipping again.
|
||||
|
||||
<br>
|
||||
|
||||
|
||||
```
|
||||
DiscordChatExporter.Domain.Exceptions.DiscordChatExporterException: Not found.
|
||||
```
|
||||
↳ Check your channel ID, it might be invalid.
|
||||
<br>
|
||||
|
||||
```
|
||||
DiscordChatExporter.Core.Services.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: NotFound - Not Found
|
||||
```
|
||||
↳ Check your channel ID, it might be invalid.
|
||||
↳ The `DiscordChatExporter.Cli.dll` file is missing. Keep the `.exe` and all the `.dll` files together. If you didn't move the files, try unzipping again.
|
||||
<br>
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user