Updated Scheduling exports on macOS (markdown)

Yudi
2018-09-15 15:15:53 -03:00
parent d487267244
commit 4658384860

@@ -18,7 +18,8 @@ Make sure you already have DiscordChatExporter and Mono properly installed ([ins
![](https://i.imgur.com/AIv3iS6.png)
**4.** Paste the following into the empty text box:
```# Info: https://github.com/Tyrrrz/DiscordChatExporter
```
# Info: https://github.com/Tyrrrz/DiscordChatExporter
TOKEN=<token>
TOKENTYPE=<BOT/USER>
@@ -37,7 +38,7 @@ fi
PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
mono DiscordChatExporter.Cli.exe -t $TOKEN $ISBOTYES -c $CHANNEL -f $EXPORTFORMAT -o exporttmp
mono DiscordChatExporter.Cli.exe export -t $TOKEN $ISBOTYES -c $CHANNEL -f $EXPORTFORMAT -o exporttmp
CURRENTTIME=`date +"%Y-%m-%d-%H-%M-%S"`
if [[ "$EXPORTFORMAT" == "PlainText" ]]; then
@@ -58,7 +59,7 @@ exit
`<token>` with your [Token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
`<BOT/USER>` If the Token is from a bot replace it with `BOT`, if it's from a user, `USER`.
`<BOT/USER>` If the Token is from a bot replace it with `BOT`, if it's from a user, `USER`
`<channel>` with a [Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
@@ -68,7 +69,7 @@ exit
`<dir>` with the export directory without quotes (e.g. /Users/user/Documents/Discord\ Exports)
`<format>` with one of the available export formats.
`<format>` with one of the available export formats
**6.** Run the Workflow (this may take a while to complete). If the export file was created, you're ready to save the Workflow.