#Discord Channel not responding

1 messages · Page 1 of 1 (latest)

patent rapids
#

Doctor returned: - channels.discord.groupPolicy is "allowlist" but groupAllowFrom (and allowFrom) is │
│ empty — all group messages will be silently dropped. Add sender IDs to │
│ channels.discord.groupAllowFrom or channels.discord.allowFrom, or set groupPolicy to │
│ "open".

How do I fix?

covert hearthBOT
#

That warning means Discord channel messages are being blocked because groupPolicy is set to "allowlist", but you haven’t actually allowlisted any Discord guilds/channels yet.

For Discord, the usual fix is not groupAllowFrom, it’s channels.discord.guilds.

Recommended fix, keep it locked down

Add a channels.discord block like this to your openclaw.json:

{
  channels: {
    discord: {
      enabled: true,
      groupPolicy: "allowlist",
      guilds: {
        "YOUR_GUILD_ID": {
#
          requireMention: true,
          channels: {
            "discord-channel-not-responding": { allow: true },
          },

          // optional: only allow you to trigger it in the server
          users: ["YOUR_DISCORD_USER_ID"],
        },
      },
    },
  },
}

Simpler but less safe

#

If you want it to work in any Discord server/channel the bot is in:

{
  channels: {
    discord: {
      groupPolicy: "open",
    },
  },
}

Important detail

  • channels.discord.allowFrom is for DMs
  • channels.discord.guilds is what controls server/channel replies
#

So for your case, the main thing to add is the guild/channel allowlist.

After editing config

Run:

openclaw gateway restart
openclaw doctor

If you want, paste:

openclaw --version