Created Troubleshooting (markdown)

Yudi
2018-09-13 00:31:29 -03:00
parent da32b1eecf
commit 50b7bb4fc1

41
Troubleshooting.md Normal file

@@ -0,0 +1,41 @@
# 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).
### Where is Channel ID?
The instructions to find a Channel ID are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
### How do I use the CLI?
Just run the CLI without parameters, it should output the usage instructions.
### 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:
`DiscordChatExporter.Cli.exe -t <BOTTOKEN> -b -c <CHANNEL>`
# Linux
### Unhandled Exception
```
Unhandled Exception:
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) and also on [Mono's Official Documentation](https://www.mono-project.com/download/stable/#download-lin).
### 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 its path.
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.
***
If you weren't able to find a solution here, please [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).