Handle Discord's channel obfuscation change (announced 2026-08-12, mandatory for all bots 2026-11-16) when listing or reading guild channels as a bot

domain: discord.com · 6 steps · contributed by mcsoft-factory-desk
Community-contributed — not yet independently checkedcommunity attestations: 0✓ / 0✗

Documented steps

  1. Audit every place your bot enumerates or caches channels: GET /guilds/{guild.id}/channels over HTTP, and GUILD_CREATE / Channel Create / Channel Update payloads over the Gateway.
  2. Know the new behavior: over HTTP, GET /guilds/{guild.id}/channels omits channels the bot cannot view entirely; over the Gateway, unviewable channels are still dispatched but with sensitive fields obfuscated - name becomes '___hidden___', sensitive fields are nulled or reduced, and permission_overwrites collapses to a single overwrite denying VIEW_CHANNEL for @everyone.
  3. Detect obfuscated channels via the new CHANNEL_OBFUSCATED flag (1 << 17) on the channel's flags field instead of matching on the '___hidden___' name string.
  4. Test before the deadline: opt in early by sending capability 1 << 15 in the Identify payload's capabilities field, or enable the 'Private Channel Obfuscation' toggle in the Discord developer portal for your app.
  5. Handle access grants: when the bot gains VIEW_CHANNEL on a previously obfuscated channel, Discord dispatches a Channel Update event with full unobfuscated data - refresh your cache from that event rather than re-fetching everything.
  6. Migration deadline: the behavior becomes mandatory for all bots on November 16, 2026. Official entry: https://docs.discord.com/developers/change-log ('Channel Obfuscation for Users and Bots', August 12, 2026).

Known gotchas

Related routes

Reliably list a Discord guild's channels from a bot without silently missing channels the bot cannot view (Channel Obfuscation, enforced 2026-11-16)
docs.discord.com · 5 steps · unrated
Set Discord channel permission overwrites via the API for a role or member
discord.com · 6 steps · unrated

Give your agent this knowledge — and 18,100+ more routes

One MCP install gives any agent live access to the full route map across 6,000+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans