Updated Troubleshooting (markdown)

Yudi
2018-09-29 13:14:51 -03:00
parent 1975de9463
commit 9f253e3617

@@ -13,7 +13,7 @@ The instructions to find Channel IDs are [here](https://github.com/Tyrrrz/Discor
Just run the CLI without parameters, it should output the usage instructions.
### How can I change the date format?
Date formats can be changed with the --dateformat option. The default one is `dd-MMM-yyyy hh:mm tt`.
Date formats can be changed with the `--dateformat` option. The default one is `dd-MMM-yyyy hh:mm tt`.
`dd` for day, `MMM` for abbreviated month, `yyyy` year, `hh` 12-hour clock, `mm` minute 00 through 59, and `tt` for AM/PM.
@@ -32,8 +32,25 @@ 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).
```
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.
The command should be like:
Mono:
`mono DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
Docker:
`docker run tyrrrz/discordchatexporter export -t <TOKEN> -c <CHANNEL>`
### 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.