Improve and update docs (#1134)

This commit is contained in:
Jacob Pfundstein
2023-09-29 13:53:52 +02:00
committed by GitHub
parent 9180d51e5e
commit 89f2084759
13 changed files with 630 additions and 546 deletions

View File

@@ -4,7 +4,7 @@ We'll be using [DiscordChatExporter CLI](https://github.com/Tyrrrz/DiscordChatEx
1. Open a text editor such as Notepad and paste:
```powershell
```console
# Info: https://github.com/Tyrrrz/DiscordChatExporter/wiki
$TOKEN = "tokenhere"
@@ -40,7 +40,9 @@ exit
Make sure not to delete the quotes (")
3. Save the file as `filename.ps1` not `.txt`
3. Save the file as `filename.ps1`, not as `.txt`
> **Note**: You can also modify the script to use other options, such as `include-threads` or switch to a different command, e. g. `exportguild`.
## Export at Startup
@@ -49,14 +51,14 @@ Make sure not to delete the quotes (")
## Scheduling with Task Scheduler
Please notice your computer must be turned on so the exportation can occur.
Please note that your computer must be turned on for the export to happen.
1. Press Windows + R, type `taskschd.msc` and press ENTER
2. Select `Task Scheduler Library`, create a Basic Task, and follow the instructions on-screen
<img src="https://i.imgur.com/MHRVGDi.png" height="500"/>
[ ![](https://i.imgur.com/m2DKhA8.png) ](https://i.imgur.com/3gHkF0t.png)
![Screenshot from Task Scheduler](https://i.imgur.com/m2DKhA8.png)
3. At 'Start a Program', write `powershell -file -ExecutionPolicy ByPass -WindowStyle Hidden "C:\path\to\filename.ps1"` in the Program/script text box