diff --git a/Troubleshooting.md b/Troubleshooting.md new file mode 100644 index 0000000..47332fb --- /dev/null +++ b/Troubleshooting.md @@ -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 '\' 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 -b -c ` + +# 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). \ No newline at end of file