diff --git a/.docs/Linux.md b/.docs/Linux.md index 6bcbc21..b0cf3fd 100644 --- a/.docs/Linux.md +++ b/.docs/Linux.md @@ -15,7 +15,6 @@ Please follow the [instructions provided here](https://github.com/Tyrrrz/Discord dotnet DiscordChatExporter.Cli.dll export -t TOKEN -c CHANNEL ``` -> **Note**: > [How to get Token and Channel IDs](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Token-and-IDs.md). There's much more you can do with DCE.CLI! Read the [CLI explained](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Getting-started.md#dcecli-commands-) page to get started. diff --git a/.docs/MacOS.md b/.docs/MacOS.md index 9ad735c..7d1721a 100644 --- a/.docs/MacOS.md +++ b/.docs/MacOS.md @@ -17,7 +17,6 @@ Please follow the [instructions provided here](https://github.com/Tyrrrz/Discord dotnet DiscordChatExporter.Cli.dll export -t TOKEN -c CHANNEL ``` -> **Note**: > [How to get Token and Channel IDs](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Token-and-IDs.md). There's much more you can do with DCE.CLI! Read the [CLI explained](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Getting-started.md#dcecli-commands-) page to get started. diff --git a/.docs/Message-filters.md b/.docs/Message-filters.md index 404c264..e6380a7 100644 --- a/.docs/Message-filters.md +++ b/.docs/Message-filters.md @@ -78,7 +78,7 @@ from:Tyrrrz | from:"96-LB" -(from:Tyrrrz has:image) ``` -- Escape special characters (`-` is escaped below so it's not parsed as negation operator): +- Escape special characters (`-` is escaped below, so it's not parsed as negation operator): ``` from:96\-LB @@ -86,30 +86,8 @@ from:96\-LB ## CLI Caveat -When using the CLI and the specified filter starts with a negation (for example `-from:Tyrrrz`), you need to quote the value and prepend it with a space (i.e. `" -from:Tyrrrz"`). This prevents the beginning of the input from being incorrectly treated as a value passed to the `-f|--format` option. - -In other words, this breaks: - -``` -DiscordChatExporter.Cli export [...] --filter "-from:Tyrrrz" -``` - -This works (note the space): - -``` -DiscordChatExporter.Cli export [...] --filter " -from:Tyrrrz" -``` - -Additionally, when using the CLI, it's recommended to use single quotes for contingent string of characters rather than double quotes (so it doesn't collide with the double quotes used as escaping mechanism in terminals). E.g.: - -This breaks: - -``` -DiscordChatExporter.Cli export [...] --filter "from:"Some name with spaces"" -``` - -This works: +Negated filters (those that start with `-`) may cause parsing issues when using the CLI version of DiscordChatExporter. To avoid this, use the tilde (`~`) character instead of the dash (`-`): ``` -DiscordChatExporter.Cli export [...] --filter "from:'Some name with spaces'" +DiscordChatExporter.Cli export [...] --filter ~from:Tyrrrz ``` diff --git a/.docs/Scheduling-Linux.md b/.docs/Scheduling-Linux.md index 3e470e5..9123e84 100644 --- a/.docs/Scheduling-Linux.md +++ b/.docs/Scheduling-Linux.md @@ -114,7 +114,6 @@ The week starts on Sunday. 0 = SUN, 1 = MON ... 7 = SUN. Be aware that if you set the day to '31', the script will only run on months that have the 31st day. -> **Note**: > [Learn more about running a cron job on the last day of the month here](https://stackoverflow.com/questions/6139189/cron-job-to-run-on-the-last-day-of-the-month) (expert). The default filename for the exported channel is `YYYY-MM-DD-hh-mm-ss-yourfilename`. You can change it if you'd like. diff --git a/.docs/Token-and-IDs.md b/.docs/Token-and-IDs.md index d2b5c9a..aaf74a9 100644 --- a/.docs/Token-and-IDs.md +++ b/.docs/Token-and-IDs.md @@ -2,7 +2,7 @@ > **Warning**: > **Do not share your token!** -> A token gives full access to an account. To reset a user token, change your account password. To reset a bot token, click on "[Regenerate](#how-to-get-a-bot-token)" +> A token gives full access to an account. To reset a user token, change your account password. To reset a bot token, click on [Regenerate](#how-to-get-a-bot-token) in the bot settings. ## How to get a User Token diff --git a/.docs/Troubleshooting.md b/.docs/Troubleshooting.md index 4bdbfea..18e63b4 100644 --- a/.docs/Troubleshooting.md +++ b/.docs/Troubleshooting.md @@ -3,9 +3,8 @@ Welcome to the Frequently Asked Questions (FAQ) and Troubleshooting page! Here you'll find the answers to most of the questions related to **DiscordChatExporter** (DCE for short) and its core features. -❓ If you still have unanswered questions _after_ reading this page, feel free to [create a new discussion](https://github.com/Tyrrrz/DiscordChatExporter/discussions/new). -🐞 If you have encountered a problem that's not described here, has not [been discussed before](https://github.com/Tyrrrz/DiscordChatExporter/discussions), and is not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), please [create a new discussion](https://github.com/Tyrrrz/DiscordChatExporter/discussions/new) or [open a bug report](https://github.com/Tyrrrz/DiscordChatExporter/issues/new). -Don't forget to include your platform (Windows, Mac, Linux, etc.) and a detailed description of your question/problem. +- ❓ If you still have unanswered questions _after_ reading this page, feel free to [create a new discussion](https://github.com/Tyrrrz/DiscordChatExporter/discussions/new). +- 🐞 If you have encountered a problem that's not described here, has not [been discussed before](https://github.com/Tyrrrz/DiscordChatExporter/discussions), and is not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), please [create a new discussion](https://github.com/Tyrrrz/DiscordChatExporter/discussions/new) or [open a bug report](https://github.com/Tyrrrz/DiscordChatExporter/issues/new). Don't forget to include your platform (Windows, Mac, Linux, etc.) and a detailed description of your question/problem. ## General @@ -167,8 +166,6 @@ If it still doesn't work, try mozroots: `mozroots --import --ask-remove` --- -> **Note**: > ❓ If you still have unanswered questions, feel free to [create a new discussion](https://github.com/Tyrrrz/DiscordChatExporter/discussions/new). -> **Note**: > 🐞 If you have encountered a problem that's not described here, has not [been discussed before](https://github.com/Tyrrrz/DiscordChatExporter/discussions), and is not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), please [create a new discussion](https://github.com/Tyrrrz/DiscordChatExporter/discussions/new) or [open a bug report](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).