diff --git a/Scheduling-exports-with-Cron.md b/Scheduling-exports-with-Cron.md index 73f03ed..db1f378 100644 --- a/Scheduling-exports-with-Cron.md +++ b/Scheduling-exports-with-Cron.md @@ -14,7 +14,6 @@ You can use Cron on macOS, but [this method](https://github.com/Tyrrrz/DiscordCh # Info: https://github.com/Tyrrrz/DiscordChatExporter/wiki TOKEN=tokenhere -TOKENTYPE=bot/user CHANNELID=channelhere DLLFOLDER=dceFOLDERpathhere FILENAME=filenamehere @@ -43,13 +42,8 @@ fi # This will change the script's directory to DLLPATH, if unable to do so, the script will exit. cd $DLLFOLDER || exit 1 -# This checks if you've typed "bot" on TOKENTYPE -if [[ "$TOKENTYPE" == "bot" ]]; then -ISBOTYES=-b -fi - # This will export your chat -dotnet DiscordChatExporter.Cli.dll export -t $TOKEN $ISBOTYES -c $CHANNELID -f $EXPORTFORMAT -o $FILENAME.tmp +dotnet DiscordChatExporter.Cli.dll export -t $TOKEN -c $CHANNELID -f $EXPORTFORMAT -o $FILENAME.tmp # This sets the current time to a variable CURRENTTIME=$(date +"%Y-%m-%d-%H-%M-%S") @@ -70,8 +64,6 @@ exit 0 `tokenhere` with your [Token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs). - `bot/user` If it's a bot token, replace it with `bot`. If it's from a user, `user`. - `channelhere` with a [Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs). `dceFOLDERpathhere` with DCE's **directory path** (e.g. `/path/to/folder`, NOT `/path/to/folder/DiscordChatExporter.dll`).