mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-03-02 13:13:41 +00:00
Remove bot options (-b). Untested
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user