mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-01 12:43:43 +00:00
Updated Troubleshooting (markdown)
@@ -1,11 +1,17 @@
|
||||
# General
|
||||
|
||||
### I can't find my Token
|
||||
The instructions to find your Token are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
|
||||
The steps to find your Token are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
|
||||
|
||||
### Where is Channel ID?
|
||||
The instructions to find Channel IDs are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
|
||||
The steps to find Channel IDs are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
|
||||
|
||||
### How do I run this on Mac/Linux?
|
||||
You can find the instructions to run **DiscordChatExporter CLI** on [macOS here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions), and on [Linux here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
|
||||
# GUI
|
||||
### How can I use a bot token?
|
||||
Click on the <img src="https://i.imgur.com/LaKmL3o.png" height="17" /> button to switch to Bot Token.
|
||||
|
||||
# CLI
|
||||
|
||||
@@ -24,6 +30,13 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
|
||||
|
||||
### Unhandled Exception
|
||||
|
||||
```
|
||||
Unhandled Exception:
|
||||
DiscordChatExporter.Core.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: Unauthorized - UNAUTHORIZED
|
||||
...
|
||||
```
|
||||
Make sure the token is correct. If it is a bot token, don't forget to use `-b`
|
||||
|
||||
```
|
||||
Unhandled Exception:
|
||||
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
|
||||
@@ -41,16 +54,13 @@ System.MissingMethodException: Method 'System.Net.Logging.get_Http' not found.
|
||||
...
|
||||
```
|
||||
|
||||
Make sure you've installed Mono correctly. The instructions are available [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
Make sure mono is correctly installed if you're running [macOS](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions) or [Linux](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
|
||||
### 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.
|
||||
|
||||
|
||||
## macOS
|
||||
|
||||
### Mono command not found
|
||||
If you're trying to execute mono within a script, make sure you include the PATH variable.
|
||||
If you're trying to execute mono within a script on macOS, make sure you include the PATH variable.
|
||||
|
||||
Adding `PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` before the mono command should solve this.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user