1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-08-01 17:38:37 +00:00

feat(integration): add Discord integration

This commit is contained in:
CaptainArk 2025-01-12 21:18:57 +01:00 committed by GitHub
parent f116f7dd6a
commit 9b25ea4ed6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
26 changed files with 209 additions and 4 deletions

View file

@ -73,6 +73,22 @@
</div>
</details>
<details {{ if .form.DiscordEnabled }}open{{ end }}>
<summary>Discord</summary>
<div class="form-section">
<label>
<input type="checkbox" name="discord_enabled" value="1" {{ if .form.DiscordEnabled }}checked{{ end }}> {{ t "form.integration.discord_activate" }}
</label>
<label for="form-discord-webhook-link">{{ t "form.integration.discord_webhook_link" }}</label>
<input type="url" name="discord_webhook_link" id="form-discord-webhook-link" value="{{ .form.DiscordWebhookLink }}" placeholder="https://discord.com/api/webhooks/xxx/xxx" spellcheck="false">
<div class="buttons">
<button type="submit" class="button button-primary" data-label-loading="{{ t "form.submit.saving" }}">{{ t "action.update" }}</button>
</div>
</div>
</details>
<details {{ if .form.EspialEnabled }}open{{ end }}>
<summary>Espial</summary>
<div class="form-section">