Try partitioning, black window pops up or nothing shows up, don't forget to include your platform, what is the token used for, will messages vanish if I block a person, token disappearing too quickly, visual studio webpage

Yudi
2020-06-14 22:34:26 -03:00
parent 204fa7f2c3
commit 3068778bde

@@ -1,7 +1,8 @@
Welcome to the Frequently Asked Questions (FAQ) and Troubleshooting page!<br/>
Here you'll find the answers to most of the questions related to **DiscordChatExporter** (DCE for short) and its core features.<br/>
If you still have unanswered questions after reading this page or if you have encountered a problem that's not described here and it's not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), feel free to [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).
If you still have unanswered questions _after_ reading this page or if you have encountered a problem that's not described here and it's not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), feel free to [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new). <br/>
Don't forget to include your platform (Windows, Mac, Linux, etc.) and a detailed description of your question/problem.
**Index**
* [**General questions**](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Troubleshooting#general)
@@ -19,6 +20,7 @@ If you still have unanswered questions after reading this page or if you have en
### Token stealer?
No. That's why it's important for this kind of software to be open source, so the code can be audited by anyone.<br/>
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 plaintext file unless you disable it in the settings menu.
### Why should I be worried about the safety of my Token?
@@ -28,13 +30,13 @@ A token can be used to log into your account, so treat it like a password and ne
Follow the [instructions here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
### Will I get banned if I use this?
Automating user accounts is technically against TOS, use at your own risk. [Bot accounts](https://discordapp.com/developers/docs/topics/oauth2#bots) don't have this restriction.
Automating user accounts is technically against TOS, use at your own discretion. [Bot accounts](https://discordapp.com/developers/docs/topics/oauth2#bots) don't have this restriction.
### When a message is deleted will it disappear from the exported file?
Text messages are not removed from the exported file, but media such as images and user avatars are. You can avoid this by [saving the HTML file for offline viewing](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Storing-HTML-locally).
### Will the messages disappear from the exported file if I delete a message, delete my account or block a person?
Text messages will not be removed from the exported file, but if media, such as images and user avatars, is changed or deleted, it will no longer show up. You can avoid this by [saving the HTML file for offline viewing](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Storing-HTML-locally).
### Can DCE export messages that have already been deleted?
No, DCE cannot access them since they are deleted from Discord's servers.
No, DCE cannot access them since they have been permanently deleted from Discord's servers.
### Can DCE export private chats?
Yes, if your account has access to them.
@@ -47,12 +49,26 @@ Yes.
# First steps
### I can't find my Token
### How can I find my token?
Check the following page:
* [Obtaining Token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
* [Obtaining token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
### My Token is disappearing too quickly, I can't copy it!
[Try this](https://github.com/Tyrrrz/DiscordChatExporter/issues/76#issuecomment-412349261)
### 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/>
**2.** Go to the **Network** tab<br/>
**3.** Search for `messages?limit=50` and click on it<br/>
**4.** Make sure the Headers tab is selected<br/>
**5.** Look for the `authorization` code in the Response Headers section<br/>
Too complicated? [This image might help you](https://user-images.githubusercontent.com/21324788/44003408-13eb2088-9e07-11e8-9c3c-016d9876bbea.png).<br/><br/>
If you can't find the `messages?limit=50`, try switching channels or reload Discord with Ctrl+R (⌘R on a Mac).<br/>
Special thanks to [**@llamasking**](https://github.com/Tyrrrz/DiscordChatExporter/issues/76#issuecomment-412349261).
### When I open DCE a black window pops up really quickly or nothing shows up.
If you have [.NET Core Runtime correctly installed](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)), you might have downloaded DCE.CLI, try [downloading the GUI](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#gui-or-cli-) instead.
### I can't open DCE. It sends me to a Visual Studio webpage.
Check the following page:
[Installation and usage](https://github.com/Tyrrrz/DiscordChatExporter/wiki#installation--usage)
### How do I run DCE on Mac or Linux?
Check the following pages:
@@ -65,16 +81,16 @@ Check the following pages to learn how to schedule **DiscordChatExporter.CLI** r
* [macOS scheduling](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS)
* [Linux scheduling](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-with-Cron)
### The file is too big, I can't open it!
Try opening it with a different program or use a different file format, like `TXT` (aka `PlainText`).
### The exported file is too big, I can't open it!
Try opening it with a different program, try partitioning or use a different file format, like `TXT` (aka `PlainText`).
### DCE is crashing/failing
### DCE is crashing/failing.
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 not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue) before [opening a new one](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).
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
### .NET Core Runtime is required.
Check the following page:
* [Installing .NET Core Runtime](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Install-.NET-Core-runtime)
@@ -95,7 +111,7 @@ 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 Direct Message Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-a-direct-message-channel-id), not a User ID.
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.
### 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:
@@ -113,14 +129,11 @@ 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 test<br/>
**4.** Open a new terminal window and try running the `dotnet` command again<br/>
### Unhandled Exception
```
Unhandled Exception:
DiscordChatExporter.Core.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: Unauthorized - UNAUTHORIZED
...
```
@@ -129,20 +142,18 @@ DiscordChatExporter.Core.Exceptions.HttpErrorStatusCodeException: Error HTTP sta
<br/>
```
Unhandled Exception:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
...
```
↳ Make sure the arguments and the options (-t, -b, -c...) are correct.
<br/>
The command should be like:
The command should be like the follwing:
`DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
<br/>
```
Unhandled Exception:
System.TypeLoadException: Could not load type of field 'DiscordChatExporter.Cli.Program+<>c__DisplayClass1_0:container' (0) due to: Could not load file or assembly 'Stylet ...
```
↳ The `Stylet.dll` file is missing. Keep the `.exe` and the `.dll` files together. If you didn't move the files, try unzipping again.
@@ -151,7 +162,18 @@ System.TypeLoadException: Could not load type of field 'DiscordChatExporter.Cli.
```
Unhandled Exception:
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.
<br/>
```
System.Net.WebException: Error: TrustFailure ... Invalid certificate received from server.
...
```