mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-04-29 01:07:47 +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
|
# Info: https://github.com/Tyrrrz/DiscordChatExporter/wiki
|
||||||
|
|
||||||
$TOKEN = "tokenhere"
|
$TOKEN = "tokenhere"
|
||||||
$TOKENTYPE = "BOT/USER"
|
|
||||||
$CHANNEL = "channelhere"
|
$CHANNEL = "channelhere"
|
||||||
$EXEPATH = "exefolderhere"
|
$EXEPATH = "exefolderhere"
|
||||||
$FILENAME = "filenamehere"
|
$FILENAME = "filenamehere"
|
||||||
@@ -16,9 +15,7 @@ $EXPORTFORMAT = "formathere"
|
|||||||
|
|
||||||
cd $EXEPATH
|
cd $EXEPATH
|
||||||
|
|
||||||
If($TOKENTYPE -match "BOT"){$ISBOTYES = "-b"}
|
.\DiscordChatExporter.Cli.exe export -t $TOKEN -c $CHANNEL -f $EXPORTFORMAT -o "$FILENAME.tmp"
|
||||||
Else{$ISBOTYES = ""}
|
|
||||||
.\DiscordChatExporter.Cli.exe export -t $TOKEN $ISBOTYES -c $CHANNEL -f $EXPORTFORMAT -o "$FILENAME.tmp"
|
|
||||||
|
|
||||||
$Date = Get-Date -Format "yyyy-MM-dd-HH-mm"
|
$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)
|
`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)
|
`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)
|
`exefolderhere` with the .exe **directory's path** (e.g. C:\Users\User\Desktop\DiscordChatExporter)
|
||||||
|
|||||||
Reference in New Issue
Block a user