mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-10 20:02:31 +00:00
Add dark theme and theme switch (#4)
* Add dark theme * Refactor a bit * Add back Light theme and add a switch * Update readme
This commit is contained in:
12
Readme.md
12
Readme.md
@@ -12,7 +12,7 @@ Command line executable that can export [Discord](https://discordapp.com) channe
|
||||
|
||||
## Features
|
||||
|
||||
- Produces output styled similar to the Discord's light theme
|
||||
- Supports both dark and light theme
|
||||
- Displays user avatars
|
||||
- Groups messages by author and time
|
||||
- Handles Discord markdown characters
|
||||
@@ -23,18 +23,18 @@ Command line executable that can export [Discord](https://discordapp.com) channe
|
||||
|
||||
## Usage
|
||||
|
||||
The program expects an access token and channel ID as parameters.
|
||||
The program expects an access token and channel ID as parameters. At minimum, the execution should look like this:
|
||||
|
||||
`DiscordChatExporter.exe /token:REkOTVqm9RWOTNOLCdiuMpWd.QiglBz.Lub0E0TZ1xX4ZxCtnwtpBhWt3v1 /channelId:459360869055190534`
|
||||
|
||||
#### Getting access token:
|
||||
#### Getting access token
|
||||
|
||||
- Open Discord desktop or web client
|
||||
- Press `Ctrl+Shift+I`
|
||||
- Navigate to `Application > Storage > Local Storage > https://discordapp.com`
|
||||
- Find the value for `token` and extract it
|
||||
|
||||
#### Getting channel ID:
|
||||
#### Getting channel ID
|
||||
|
||||
- Open Discord desktop or web client
|
||||
- Navigate to any DM or server channel
|
||||
@@ -46,6 +46,10 @@ The program expects an access token and channel ID as parameters.
|
||||
- If it's a server channel, the format looks like this:
|
||||
`https://discordapp.com/channels/WHATEVER/CHANNEL_ID`
|
||||
|
||||
#### Optional arguments
|
||||
|
||||
- `/theme:[Dark/Light]` - sets the style of the output
|
||||
|
||||
## Libraries used
|
||||
|
||||
- [HtmlAgilityPack](https://github.com/zzzprojects/html-agility-pack)
|
||||
|
||||
Reference in New Issue
Block a user