openclaw - 💡(How to fix) Fix [Bug] Discord: adding new channel to allowlist requires gateway restart (hot-reload ineffective) [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#70524Fetched 2026-04-24 05:56:58
View on GitHub
Comments
0
Participants
1
Timeline
0
Reactions
0
Participants

When adding a new Discord channel ID to the allowlist configuration, hot-reload does not pick up the change. The gateway must be fully restarted for the new channel to become active.

Root Cause

When adding a new Discord channel ID to the allowlist configuration, hot-reload does not pick up the change. The gateway must be fully restarted for the new channel to become active.

RAW_BUFFERClick to expand / collapse

Description

When adding a new Discord channel ID to the allowlist configuration, hot-reload does not pick up the change. The gateway must be fully restarted for the new channel to become active.

Steps to Reproduce

  1. Create a new Discord channel in the server
  2. Add the channel ID to Discord allowlist in config (e.g. channels.discord.allowlist)
  3. Config hot-reload triggers (file change detected)
  4. Send a message in the new channel → bot does not respond
  5. Run openclaw gateway restart
  6. Send a message in the new channel → bot responds correctly

Expected Behavior

Hot-reload should detect the new allowlist entry and start listening on the new channel without a full gateway restart.

Actual Behavior

The new channel is ignored until a full gateway restart. Existing channels continue working fine during hot-reload.

Environment

  • OpenClaw: 2026.4.20
  • Platform: Discord
  • OS: Ubuntu 24.04

Context

This is a recurring pain point for power users who add project channels frequently (~monthly). Each restart causes a brief interruption to all active sessions.

Related hot-reload issues:

  • #67974 (hot-reload loses Feishu credentials)
  • #59616 (hot-reload doesn't watch $include files)
  • #56027 (plugin hot-reload clobbers channel registry)
  • #68232 (config edits trigger Telegram channel restart)

extent analysis

TL;DR

The issue can likely be mitigated by modifying the hot-reload mechanism to properly detect and apply changes to the Discord allowlist configuration.

Guidance

  • Review the hot-reload implementation to ensure it correctly handles updates to the channels.discord.allowlist configuration.
  • Verify that the file change detection mechanism is triggering correctly when the allowlist is updated.
  • Investigate if there are any caching or synchronization issues that might prevent the new allowlist entry from being applied without a full restart.
  • Check if any of the related hot-reload issues (#67974, #59616, #56027, #68232) have fixes or workarounds that could be applied to this problem.

Notes

The issue seems to be specific to the Discord allowlist configuration and hot-reload mechanism, so any fixes or workarounds may need to be tailored to this particular use case.

Recommendation

Apply workaround: Modify the hot-reload mechanism to properly detect and apply changes to the Discord allowlist configuration, as this is a recurring pain point for power users and a full fix may not be available in the current version (2026.4.20).

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug] Discord: adding new channel to allowlist requires gateway restart (hot-reload ineffective) [1 participants]