Remove bot options (-b)

Yudi
2022-01-27 13:44:46 -03:00
parent 4e89bb1566
commit aecd6a8f00

@@ -174,7 +174,6 @@ dotnet DiscordChatExporter.Cli.dll command -h
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content. Default: false
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Format used when writing dates.
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
@@ -187,12 +186,6 @@ You can quickly export with DCE's default settings by using just `-t token` and
dotnet DiscordChatExporter.Cli.dll export -t "mfa.Ifrn" -c 53555
```
### Using a Bot Token
Add `-b`.
```powershell
dotnet DiscordChatExporter.Cli.dll export -t "Mjg5ODIz" -b -c 53555
```
### Changing the format
You can change the export format to `HtmlDark`, `HtmlLight`, `PlainText` `Json` or `Csv` with `-f format`. The default format is `HtmlDark`.
```powershell
@@ -328,7 +321,6 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Date format used in output
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
@@ -351,7 +343,6 @@ This command exports all your Direct Messages.
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Date format used in output
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
@@ -374,7 +365,6 @@ This command exports all channels of a Server.
||[--media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Downloading-media) | Download referenced media content
||[--reuse-media](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#Reuse-media) | Reuse already existing media content to skip redundant downloads. Default: false.
||[--dateformat](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#date-formats) | Date format used in output
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
@@ -392,7 +382,6 @@ dotnet DiscordChatExporter.Cli.dll exportall -t "mfa.Ifrn" --include-dm false
|-|------- | -------------
|**\***|-g| [Server ID](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-guild-id-or-guild-channel-id)
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
@@ -408,7 +397,6 @@ dotnet DiscordChatExporter.Cli.dll channels -t "mfa.Ifrn" -g 21814 > C:\path\to\
||Option | Description
|-|------- | -------------
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.
@@ -424,7 +412,6 @@ dotnet DiscordChatExporter.Cli.dll dm -t "mfa.Ifrn" > C:\path\to\output.txt
||Option | Description
|-|------- | -------------
|**\***|[-t](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#basic-usage) | [Authorization token](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs#how-to-get-user-token). Environment variable: `DISCORD_TOKEN`
||[-b](https://github.com/Tyrrrz/DiscordChatExporter/wiki/GUI%2C-CLI-and-Formats-explained#using-a-bot-token) | Whether this authorization token belongs to a bot. Environment variable: `DISCORD_TOKEN_BOT`
||-h | Shows help text
> Options with an asterisk (**\***) are required. The order of the options doesn't matter.