Просмотр исходного кода

Update docs for Draupnir and Mjolnir: instructions to replace the IDs

- Replace the placeholder for the clean access token

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3966/head
Suguru Hirahara 1 год назад
Родитель
Сommit
2cecf38d49
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
2 измененных файлов: 4 добавлений и 4 удалений
  1. +3
    -3
      docs/configuring-playbook-bot-draupnir.md
  2. +1
    -1
      docs/configuring-playbook-bot-mjolnir.md

+ 3
- 3
docs/configuring-playbook-bot-draupnir.md Просмотреть файл

@@ -36,7 +36,7 @@ Note that native E2EE requires a clean access token that has not touched E2EE so


⚠️ **Warning**: Access tokens are sensitive information. Do not include them in any bug reports, messages, or logs. Do not share the access token with anyone. ⚠️ **Warning**: Access tokens are sensitive information. Do not include them in any bug reports, messages, or logs. Do not share the access token with anyone.


To enable the native E2EE support, add the following configuration to your `vars.yml` file:
To enable the native E2EE support, add the following configuration to your `vars.yml` file. Make sure to replace `CLEAN_ACCESS_TOKEN_HERE` with the access token you obtained just now.


```yaml ```yaml
# Enables the native E2EE support # Enables the native E2EE support
@@ -44,12 +44,12 @@ matrix_bot_draupnir_enable_experimental_rust_crypto: true


# Access token which the bot will use for logging in. # Access token which the bot will use for logging in.
# Comment out `matrix_bot_draupnir_login_native` when using this option. # Comment out `matrix_bot_draupnir_login_native` when using this option.
matrix_bot_draupnir_access_token: "ACCESS_TOKEN_HERE"
matrix_bot_draupnir_access_token: "CLEAN_ACCESS_TOKEN_HERE"
``` ```


## Adjusting the playbook configuration ## Adjusting the playbook configuration


To enable the bot, add the following configuration to your `vars.yml` file. Make sure to replace `MANAGEMENT_ROOM_ID_HERE`.
To enable the bot, add the following configuration to your `vars.yml` file. Make sure to replace `MANAGEMENT_ROOM_ID_HERE` with the one of the room which you have created earlier.


```yaml ```yaml
# Enable Draupnir # Enable Draupnir


+ 1
- 1
docs/configuring-playbook-bot-mjolnir.md Просмотреть файл

@@ -70,7 +70,7 @@ Finally invite the `@bot.mjolnir:example.com` account you created earlier into t


## Adjusting the playbook configuration ## Adjusting the playbook configuration


To enable the bot, add the following configuration to your `vars.yml` file. Make sure to replace `MANAGEMENT_ROOM_ID_HERE`.
To enable the bot, add the following configuration to your `vars.yml` file. Make sure to replace `MANAGEMENT_ROOM_ID_HERE` with the one of the room which you have created just now.


```yaml ```yaml
# Enable Mjolnir # Enable Mjolnir


Загрузка…
Отмена
Сохранить