diff --git a/Scheduling-exports-on-Windows.md b/Scheduling-exports-on-Windows.md index bf19d29..6e5c0d6 100644 --- a/Scheduling-exports-on-Windows.md +++ b/Scheduling-exports-on-Windows.md @@ -6,7 +6,6 @@ We'll be using [DiscordChatExporter CLI](https://github.com/Tyrrrz/DiscordChatEx # Info: https://github.com/Tyrrrz/DiscordChatExporter/wiki $TOKEN = "tokenhere" -$TOKENTYPE = "BOT/USER" $CHANNEL = "channelhere" $EXEPATH = "exefolderhere" $FILENAME = "filenamehere" @@ -16,9 +15,7 @@ $EXPORTFORMAT = "formathere" cd $EXEPATH -If($TOKENTYPE -match "BOT"){$ISBOTYES = "-b"} -Else{$ISBOTYES = ""} -.\DiscordChatExporter.Cli.exe export -t $TOKEN $ISBOTYES -c $CHANNEL -f $EXPORTFORMAT -o "$FILENAME.tmp" +.\DiscordChatExporter.Cli.exe export -t $TOKEN -c $CHANNEL -f $EXPORTFORMAT -o "$FILENAME.tmp" $Date = Get-Date -Format "yyyy-MM-dd-HH-mm" @@ -34,8 +31,6 @@ exit `tokenhere` 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` - `channelhere` with a [Channel ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs) `exefolderhere` with the .exe **directory's path** (e.g. C:\Users\User\Desktop\DiscordChatExporter)