Update default branch ref

This commit is contained in:
Tyrrrz 2026-03-04 20:23:55 +02:00
parent b9a3001c11
commit 6647f90ced
16 changed files with 35 additions and 36 deletions

View file

@ -17,7 +17,7 @@ Note the `:stable` tag. DiscordChatExporter images are tagged according to the f
- `stable` — latest stable version release. This tag is updated with each release of a new project version. Recommended for personal use. - `stable` — latest stable version release. This tag is updated with each release of a new project version. Recommended for personal use.
- `x.y.z` (e.g. `2.30.1`) — specific stable version release. This tag is pushed when the corresponding version is released and never updated thereafter. Recommended for use in automation scenarios. - `x.y.z` (e.g. `2.30.1`) — specific stable version release. This tag is pushed when the corresponding version is released and never updated thereafter. Recommended for use in automation scenarios.
- `latest` — latest (potentially unstable) build. This tag is updated with each new commit to the `master` branch. Not recommended, unless you want to test a new feature that has not been released in a stable version yet. - `latest` — latest (potentially unstable) build. This tag is updated with each new commit to the `prime` branch. Not recommended, unless you want to test a new feature that has not been released in a stable version yet.
You can see all available tags [here](https://hub.docker.com/r/tyrrrz/discordchatexporter/tags?ordering=name). You can see all available tags [here](https://hub.docker.com/r/tyrrrz/discordchatexporter/tags?ordering=name).
@ -57,7 +57,7 @@ You can also use the current working directory as the output directory by specif
- `-v $PWD:/out` in Bash - `-v $PWD:/out` in Bash
- `-v $pwd.Path:/out` in PowerShell - `-v $pwd.Path:/out` in PowerShell
For more information, please refer to the [Dockerfile](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/DiscordChatExporter.Cli.dockerfile) and [Docker documentation](https://docs.docker.com/engine/reference/run). For more information, please refer to the [Dockerfile](https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/DiscordChatExporter.Cli.dockerfile) and [Docker documentation](https://docs.docker.com/engine/reference/run).
To get your Token and Channel IDs, please refer to [this page](Token-and-IDs.md). To get your Token and Channel IDs, please refer to [this page](Token-and-IDs.md).

View file

@ -11,7 +11,7 @@
```bash ```bash
#!/bin/bash #!/bin/bash
# Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs # Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/.docs
TOKEN=tokenhere TOKEN=tokenhere
CHANNELID=channelhere CHANNELID=channelhere

View file

@ -12,7 +12,7 @@
```bash ```bash
#!/bin/bash #!/bin/bash
# Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs # Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/.docs
TOKEN=tokenhere TOKEN=tokenhere
CHANNELID=channelhere CHANNELID=channelhere

View file

@ -5,7 +5,7 @@
1. Open a text editor such as Notepad and paste: 1. Open a text editor such as Notepad and paste:
```console ```console
# Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs # Info: https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/.docs
$TOKEN = "tokenhere" $TOKEN = "tokenhere"
$CHANNEL = "channelhere" $CHANNEL = "channelhere"

View file

@ -29,13 +29,12 @@ Type the following command in your terminal of choice, then press ENTER to run i
> **Note**: > **Note**:
> On Windows, if you're using the default Command Prompt (`cmd`), omit the leading `./` at the start of the command. > On Windows, if you're using the default Command Prompt (`cmd`), omit the leading `./` at the start of the command.
> **Docker** users, please refer to the [Docker usage instructions](Docker.md). > **Docker** users, please refer to the [Docker usage instructions](Docker.md).
## CLI commands ## CLI commands
| Command | Description | | Command | Description |
|-------------------------|------------------------------------------------------| | ----------- | ---------------------------------------------------- |
| export | Exports a channel | | export | Exports a channel |
| exportdm | Exports all direct message channels | | exportdm | Exports all direct message channels |
| exportguild | Exports all channels within the specified server | | exportguild | Exports all channels within the specified server |
@ -222,7 +221,7 @@ Use `--filter` to filter what messages are included in the export.
./DiscordChatExporter.Cli export -t "mfa.Ifrn" -c 53555 --filter "from:Tyrrrz has:image" ./DiscordChatExporter.Cli export -t "mfa.Ifrn" -c 53555 --filter "from:Tyrrrz has:image"
``` ```
Documentation on message filter syntax can be found [here](https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs/Message-filters.md). Documentation on message filter syntax can be found [here](https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/.docs/Message-filters.md).
### Export channels from a specific server ### Export channels from a specific server

View file

@ -1,10 +1,10 @@
blank_issues_enabled: false blank_issues_enabled: false
contact_links: contact_links:
- name: ⚠ Feature request - name: ⚠ Feature request
url: https://github.com/Tyrrrz/.github/blob/master/docs/project-status.md url: https://github.com/Tyrrrz/.github/blob/prime/docs/project-status.md
about: Sorry, but this project is in maintenance mode and no longer accepts new feature requests. about: Sorry, but this project is in maintenance mode and no longer accepts new feature requests.
- name: 📖 Documentation - name: 📖 Documentation
url: https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs url: https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/.docs
about: Find usage guides and frequently asked questions. about: Find usage guides and frequently asked questions.
- name: 🗨 Discussions - name: 🗨 Discussions
url: https://github.com/Tyrrrz/DiscordChatExporter/discussions/new url: https://github.com/Tyrrrz/DiscordChatExporter/discussions/new

View file

@ -4,12 +4,12 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: branches:
- master - prime
tags: tags:
- "*" - "*"
pull_request: pull_request:
branches: branches:
- master - prime
jobs: jobs:
# Outputs from this job aren't really used, but it's here to verify that the Dockerfile builds correctly # Outputs from this job aren't really used, but it's here to verify that the Dockerfile builds correctly
@ -44,8 +44,8 @@ jobs:
if-no-files-found: error if-no-files-found: error
deploy: deploy:
# Deploy to DockerHub only on tag push or master branch push # Deploy to DockerHub only on tag push or prime branch push
if: ${{ github.ref_type == 'tag' || github.ref_type == 'branch' && github.ref_name == 'master' }} if: ${{ github.ref_type == 'tag' || github.ref_type == 'branch' && github.ref_name == 'prime' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 10 timeout-minutes: 10

View file

@ -4,12 +4,12 @@ on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: branches:
- master - prime
tags: tags:
- "*" - "*"
pull_request: pull_request:
branches: branches:
- master - prime
env: env:
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true

View file

@ -74,7 +74,7 @@ public class GuideCommand : ICommand
using (console.WithForegroundColor(ConsoleColor.DarkCyan)) using (console.WithForegroundColor(ConsoleColor.DarkCyan))
{ {
console.Output.WriteLine( console.Output.WriteLine(
"https://github.com/Tyrrrz/DiscordChatExporter/blob/master/.docs" "https://github.com/Tyrrrz/DiscordChatExporter/blob/prime/.docs"
); );
} }

View file

@ -42,7 +42,7 @@ public partial class LocalizationManager
* Your bot needs to have the **Message Content Intent** enabled to read messages * Your bot needs to have the **Message Content Intent** enabled to read messages
""", """,
[nameof(TokenHelpText)] = [nameof(TokenHelpText)] =
"If you have questions or issues, please refer to the [documentation](https://github.com/Tyrrrz/DiscordChatExporter/tree/master/.docs)", "If you have questions or issues, please refer to the [documentation](https://github.com/Tyrrrz/DiscordChatExporter/tree/prime/.docs)",
// Settings // Settings
[nameof(SettingsTitle)] = "Settings", [nameof(SettingsTitle)] = "Settings",
[nameof(ThemeLabel)] = "Theme", [nameof(ThemeLabel)] = "Theme",

View file

@ -44,7 +44,7 @@ public partial class LocalizationManager
* Votre bot doit avoir l'option **Message Content Intent** activée pour lire les messages * Votre bot doit avoir l'option **Message Content Intent** activée pour lire les messages
""", """,
[nameof(TokenHelpText)] = [nameof(TokenHelpText)] =
"Pour les questions ou problèmes, veuillez consulter la [documentation](https://github.com/Tyrrrz/DiscordChatExporter/tree/master/.docs)", "Pour les questions ou problèmes, veuillez consulter la [documentation](https://github.com/Tyrrrz/DiscordChatExporter/tree/prime/.docs)",
// Settings // Settings
[nameof(SettingsTitle)] = "Paramètres", [nameof(SettingsTitle)] = "Paramètres",
[nameof(ThemeLabel)] = "Thème", [nameof(ThemeLabel)] = "Thème",

View file

@ -44,7 +44,7 @@ public partial class LocalizationManager
* Ihr Bot benötigt die aktivierte **Message Content Intent**, um Nachrichten zu lesen * Ihr Bot benötigt die aktivierte **Message Content Intent**, um Nachrichten zu lesen
""", """,
[nameof(TokenHelpText)] = [nameof(TokenHelpText)] =
"Bei Fragen oder Problemen lesen Sie die [Dokumentation](https://github.com/Tyrrrz/DiscordChatExporter/tree/master/.docs)", "Bei Fragen oder Problemen lesen Sie die [Dokumentation](https://github.com/Tyrrrz/DiscordChatExporter/tree/prime/.docs)",
// Settings // Settings
[nameof(SettingsTitle)] = "Einstellungen", [nameof(SettingsTitle)] = "Einstellungen",
[nameof(ThemeLabel)] = "Design", [nameof(ThemeLabel)] = "Design",

View file

@ -42,7 +42,7 @@ public partial class LocalizationManager
* Tu bot necesita tener habilitado **Message Content Intent** para leer mensajes * Tu bot necesita tener habilitado **Message Content Intent** para leer mensajes
""", """,
[nameof(TokenHelpText)] = [nameof(TokenHelpText)] =
"Si tienes preguntas o problemas, consulta la [documentación](https://github.com/Tyrrrz/DiscordChatExporter/tree/master/.docs)", "Si tienes preguntas o problemas, consulta la [documentación](https://github.com/Tyrrrz/DiscordChatExporter/tree/prime/.docs)",
// Settings // Settings
[nameof(SettingsTitle)] = "Ajustes", [nameof(SettingsTitle)] = "Ajustes",
[nameof(ThemeLabel)] = "Tema", [nameof(ThemeLabel)] = "Tema",

View file

@ -42,7 +42,7 @@ public partial class LocalizationManager
* Ваш бот повинен мати включений **Message Content Intent** для читання повідомлень * Ваш бот повинен мати включений **Message Content Intent** для читання повідомлень
""", """,
[nameof(TokenHelpText)] = [nameof(TokenHelpText)] =
"Якщо у вас є запитання або проблеми, зверніться до [документації](https://github.com/Tyrrrz/DiscordChatExporter/tree/master/.docs)", "Якщо у вас є запитання або проблеми, зверніться до [документації](https://github.com/Tyrrrz/DiscordChatExporter/tree/prime/.docs)",
// Settings // Settings
[nameof(SettingsTitle)] = "Налаштування", [nameof(SettingsTitle)] = "Налаштування",
[nameof(ThemeLabel)] = "Тема", [nameof(ThemeLabel)] = "Тема",

View file

@ -21,7 +21,7 @@ public static class Program
public static string ProjectReleasesUrl { get; } = $"{ProjectUrl}/releases"; public static string ProjectReleasesUrl { get; } = $"{ProjectUrl}/releases";
public static string ProjectDocumentationUrl { get; } = ProjectUrl + "/tree/master/.docs"; public static string ProjectDocumentationUrl { get; } = ProjectUrl + "/tree/prime/.docs";
public static AppBuilder BuildAvaloniaApp() => public static AppBuilder BuildAvaloniaApp() =>
AppBuilder.Configure<App>().UsePlatformDetect().LogToTrace(); AppBuilder.Configure<App>().UsePlatformDetect().LogToTrace();

View file

@ -1,9 +1,9 @@
# DiscordChatExporter # DiscordChatExporter
[![Status](https://img.shields.io/badge/status-maintenance-ffd700.svg)](https://github.com/Tyrrrz/.github/blob/master/docs/project-status.md) [![Status](https://img.shields.io/badge/status-maintenance-ffd700.svg)](https://github.com/Tyrrrz/.github/blob/prime/docs/project-status.md)
[![Made in Ukraine](https://img.shields.io/badge/made_in-ukraine-ffd700.svg?labelColor=0057b7)](https://tyrrrz.me/ukraine) [![Made in Ukraine](https://img.shields.io/badge/made_in-ukraine-ffd700.svg?labelColor=0057b7)](https://tyrrrz.me/ukraine)
[![Build](https://img.shields.io/github/actions/workflow/status/Tyrrrz/DiscordChatExporter/main.yml?branch=master)](https://github.com/Tyrrrz/DiscordChatExporter/actions) [![Build](https://img.shields.io/github/actions/workflow/status/Tyrrrz/DiscordChatExporter/main.yml?branch=prime)](https://github.com/Tyrrrz/DiscordChatExporter/actions)
[![Coverage](https://img.shields.io/codecov/c/github/Tyrrrz/DiscordChatExporter/master)](https://codecov.io/gh/Tyrrrz/DiscordChatExporter) [![Coverage](https://img.shields.io/codecov/c/github/Tyrrrz/DiscordChatExporter/prime)](https://codecov.io/gh/Tyrrrz/DiscordChatExporter)
[![Release](https://img.shields.io/github/release/Tyrrrz/DiscordChatExporter.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Release](https://img.shields.io/github/release/Tyrrrz/DiscordChatExporter.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases)
[![Downloads](https://img.shields.io/github/downloads/Tyrrrz/DiscordChatExporter/total.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases) [![Downloads](https://img.shields.io/github/downloads/Tyrrrz/DiscordChatExporter/total.svg)](https://github.com/Tyrrrz/DiscordChatExporter/releases)
[![Pulls](https://img.shields.io/docker/pulls/tyrrrz/discordchatexporter)](https://hub.docker.com/r/tyrrrz/discordchatexporter) [![Pulls](https://img.shields.io/docker/pulls/tyrrrz/discordchatexporter)](https://hub.docker.com/r/tyrrrz/discordchatexporter)
@ -27,7 +27,7 @@ It works with direct messages, group messages, and server channels, and supports
> 💬 If you want to chat, **join my [Discord server](https://discord.gg/2SUWKFnHSm)**. > 💬 If you want to chat, **join my [Discord server](https://discord.gg/2SUWKFnHSm)**.
## Terms of use<sup>[[?]](https://github.com/Tyrrrz/.github/blob/master/docs/why-so-political.md)</sup> ## Terms of use<sup>[[?]](https://github.com/Tyrrrz/.github/blob/prime/docs/why-so-political.md)</sup>
By using this project or its source code, for any purpose and in any shape or form, you grant your **implicit agreement** to all the following statements: By using this project or its source code, for any purpose and in any shape or form, you grant your **implicit agreement** to all the following statements: