Teknium
7d26feb9a3
feat(discord): add DISCORD_REPLY_TO_MODE setting ( #6333 )
...
Add configurable reply-reference behavior for Discord, matching the
existing Telegram (TELEGRAM_REPLY_TO_MODE) and Mattermost
(MATTERMOST_REPLY_MODE) implementations.
Modes:
- 'off': never reply-reference the original message
- 'first': reply-reference on first chunk only (default, current behavior)
- 'all': reply-reference on every chunk
Set DISCORD_REPLY_TO_MODE=off in .env to disable reply-to messages.
Changes:
- gateway/config.py: parse DISCORD_REPLY_TO_MODE env var
- gateway/platforms/discord.py: read reply_to_mode from config, respect
it in send() — skip fetch_message entirely when 'off'
- hermes_cli/config.py: add to OPTIONAL_ENV_VARS for hermes setup
- 23 tests covering config, send behavior, env var override
- docs: discord.md env var table + environment-variables.md reference
Closes community request from Stuart on Discord.
2026-04-08 17:08:40 -07:00
..
2026-03-26 13:19:43 -07:00
2026-03-29 21:29:13 -07:00
2026-04-05 12:31:10 -07:00
2026-04-07 03:28:44 -07:00
2026-04-07 17:56:01 -07:00
2026-04-04 10:18:57 -07:00
2026-04-01 12:05:02 -07:00
2026-03-26 14:33:48 -07:00
2026-03-17 03:52:15 -07:00
2026-03-29 21:55:23 -07:00
2026-04-06 13:20:01 -07:00
2026-04-07 00:53:45 -07:00
2026-03-13 23:59:18 -07:00
2026-04-05 19:46:58 -07:00
2026-03-14 11:03:20 -07:00
2026-03-17 03:04:58 -07:00
2026-03-09 02:20:57 -07:00
2026-04-07 17:55:55 -07:00
2026-04-05 12:42:47 -07:00
2026-04-03 13:16:26 -07:00
2026-04-03 10:24:07 -07:00
2026-03-14 09:32:05 -07:00
2026-03-13 08:52:54 -07:00
2026-03-14 14:27:21 +03:00
2026-03-31 01:24:48 -07:00
2026-04-08 17:08:40 -07:00
2026-04-03 10:24:07 -07:00
2026-03-22 04:25:19 -07:00
2026-03-23 06:50:09 -07:00
2026-03-17 02:26:34 -07:00
2026-04-03 18:20:50 -07:00
2026-04-03 13:16:26 -07:00
2026-03-29 15:38:32 -07:00
2026-03-17 01:47:34 -07:00
2026-04-07 22:45:14 -07:00
2026-04-06 16:54:16 -07:00
2026-04-03 13:10:11 -07:00
2026-03-26 14:33:48 -07:00
2026-03-13 07:40:38 -07:00
2026-03-29 20:05:59 -07:00
2026-03-15 03:50:45 -07:00
2026-04-04 13:09:27 -07:00
2026-04-07 09:58:45 -07:00
2026-04-07 09:58:45 -07:00
2026-04-07 17:28:37 -07:00
2026-04-07 17:28:37 -07:00
2026-03-11 09:15:34 +01:00
2026-03-05 18:39:37 -08:00
2026-03-16 05:58:34 -07:00
2026-03-14 21:28:51 -07:00
2026-04-06 16:50:05 -07:00
2026-04-07 09:58:45 -07:00
2026-03-22 04:56:13 -07:00
2026-04-08 03:36:44 -07:00
2026-04-06 16:49:42 -07:00
2026-03-14 21:19:22 -07:00
2026-03-10 23:34:52 -07:00
2026-04-07 14:10:56 -07:00
2026-03-28 14:25:12 -07:00
2026-03-16 05:26:31 -07:00
2026-03-27 04:03:13 -07:00
2026-04-04 19:05:34 -07:00
2026-04-08 04:27:34 -07:00
2026-04-02 01:33:53 -07:00
2026-03-15 06:57:00 -07:00
2026-03-30 19:17:07 -07:00
2026-03-26 19:27:58 -07:00
2026-04-06 13:20:01 -07:00
2026-04-07 09:58:45 -07:00
2026-03-22 09:33:39 -07:00
2026-04-05 19:46:58 -07:00
2026-04-06 11:41:34 -07:00
2026-04-07 11:12:08 -07:00
2026-04-06 21:27:16 -07:00
2026-03-17 03:14:53 -07:00
2026-03-27 11:33:19 -07:00
2026-03-15 23:04:34 -07:00
2026-04-07 17:27:09 -07:00
2026-03-18 03:12:59 -07:00
2026-04-02 20:54:27 -07:00
2026-04-08 03:33:43 -07:00
2026-03-15 21:51:40 -07:00
2026-04-07 17:19:07 -07:00
2026-04-07 14:08:59 -07:00
2026-04-07 17:19:07 -07:00
2026-04-03 13:16:26 -07:00
2026-03-27 04:03:13 -07:00
2026-03-29 21:53:59 -07:00
2026-03-27 04:03:13 -07:00
2026-03-28 14:23:27 -07:00
2026-03-15 03:50:45 -07:00
2026-04-07 17:55:55 -07:00
2026-03-27 04:03:13 -07:00
2026-03-17 02:49:57 -07:00
2026-04-05 11:59:28 -07:00
2026-03-14 14:27:20 +03:00
2026-03-04 21:34:40 +03:00
2026-03-31 10:42:03 -07:00
2026-04-05 11:59:28 -07:00
2026-04-05 00:28:58 -07:00
2026-04-05 00:28:58 -07:00
2026-03-26 14:41:04 -07:00
2026-04-03 10:24:07 -07:00
2026-04-07 17:27:09 -07:00
2026-03-28 14:33:35 -07:00
2026-04-07 17:27:09 -07:00
2026-03-29 21:29:13 -07:00
2026-03-29 16:25:20 -07:00
2026-04-03 01:16:39 -07:00
2026-03-17 10:44:37 -07:00
2026-04-05 11:07:47 -07:00