From 1c6a0b5a3e5865df57b34fe60fa7d91cf3565c70 Mon Sep 17 00:00:00 2001 From: Yudi Date: Thu, 27 Jan 2022 13:48:47 -0300 Subject: [PATCH] Remove bot options (-b). Untested --- Scheduling-exports-on-Windows.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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)