mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-28 08:46:44 +00:00
Updated Scheduling exports on macOS (markdown)
@@ -18,7 +18,8 @@ Make sure you already have DiscordChatExporter and Mono properly installed ([ins
|
|||||||

|

|
||||||
|
|
||||||
**4.** Paste the following into the empty text box:
|
**4.** Paste the following into the empty text box:
|
||||||
```# Info: https://github.com/Tyrrrz/DiscordChatExporter
|
```
|
||||||
|
# Info: https://github.com/Tyrrrz/DiscordChatExporter
|
||||||
|
|
||||||
TOKEN=<token>
|
TOKEN=<token>
|
||||||
TOKENTYPE=<BOT/USER>
|
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
|
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"`
|
CURRENTTIME=`date +"%Y-%m-%d-%H-%M-%S"`
|
||||||
|
|
||||||
if [[ "$EXPORTFORMAT" == "PlainText" ]]; then
|
if [[ "$EXPORTFORMAT" == "PlainText" ]]; then
|
||||||
@@ -58,7 +59,7 @@ exit
|
|||||||
|
|
||||||
`<token>` with your [Token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs)
|
`<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)
|
`<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)
|
`<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.
|
**6.** Run the Workflow (this may take a while to complete). If the export file was created, you're ready to save the Workflow.
|
||||||
|
|||||||
Reference in New Issue
Block a user