Repository navigation
❌ v1.3.0 — Discord Relay Support
Release v1.3.0
New Features:
Added optional Discord relay support for Open Relay.
Posts can now be relayed to Discord using a webhook while continuing to relay to Telegram as before.
Introduced rich Discord embeds with support for:
- post formatting
- quote / repost styling
- format-preserving quote blocks
- source metadata
Added role mention capability using DISCORD_ROLE_ID.
Media attachments (images and videos) are now uploaded to Discord using multipart webhook requests.
Improvements:
Poller now supports dual-channel relay.
Messages continue to be delivered to Telegram while optionally being sent to Discord when enabled.
Media downloads now include retry and backoff logic to improve reliability when fetching attachments.
Configuration:
New environment configuration options:
DISCORD_ENABLED — enables Discord relay when set to true
DISCORD_WEBHOOK_URL — required webhook endpoint when Discord relay is enabled
DISCORD_ROLE_ID — optional role mention for notifications
Technical:
Added Discord relay service:
src/services/discordRelay.js
Extended environment validation in:
src/config/env.js
Integrated Discord relay into the poller workflow in:
src/services/poller.js
Notes:
Discord relay is disabled by default and only activates when:
DISCORD_ENABLED=true
This release introduces multi-platform relay capabilities, allowing Open Relay to distribute posts to both Telegram and Discord while preserving formatting and media attachments.