Skip to content

feat(channel): support spoiler channels - #1577

Open
shiftinv wants to merge 12 commits into
masterfrom
feat/spoiler-channels
Open

feat(channel): support spoiler channels#1577
shiftinv wants to merge 12 commits into
masterfrom
feat/spoiler-channels

Conversation

@shiftinv

@shiftinv shiftinv commented Jul 23, 2026

Copy link
Copy Markdown
Member

Summary

discord/discord-api-docs@fa2cdf8

This adds ChannelFlags.spoiler, and adds a flags parameter to the Guild.create_*_channel() and *Channel.clone() methods.

It's worth noting that the API docs explicitly specify that this flag is not supported in stage channels, despite it being implemented that way in the client, as well as being accepted just fine by the API. I've added the flags parameter to stage channel creation anyway, if Discord changes their mind and enforces this limitation for some reason, it'll only be a documentation change.

Setting flags on thread creation unfortunately does not appear to be supported, only on thread edit.

Checklist

  • If code changes were made, then they have been tested
    • I have updated the documentation to reflect the changes
    • I have formatted the code properly by running uv run nox -s lint
    • I have type-checked the code by running uv run nox -s pyright
  • This PR fixes an issue
  • This PR adds something new (e.g. new method or parameters)
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@shiftinv shiftinv added this to the disnake v2.13 milestone Jul 23, 2026
@shiftinv shiftinv added this to disnake Jul 23, 2026
@shiftinv shiftinv added t: enhancement New feature t: api support Support of Discord API features s: needs review Issue/PR is awaiting reviews labels Jul 23, 2026
@github-project-automation github-project-automation Bot moved this to Todo in disnake Jul 23, 2026
@read-the-docs-community

read-the-docs-community Bot commented Jul 23, 2026

Copy link
Copy Markdown

Documentation build overview

📚 disnake | 🛠️ Build #34435968 | 📁 Comparing 53c01c9 against latest (95f5d6a)

  🔍 Preview build  

51 files changed · ± 51 modified

± Modified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

s: needs review Issue/PR is awaiting reviews t: api support Support of Discord API features t: enhancement New feature

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant