discord-api-docs icon indicating copy to clipboard operation
discord-api-docs copied to clipboard

NSFW marked Application Commands do not work in threads

Open iced-queen opened this issue 1 year ago • 2 comments

Description

When attempting to use an Application Command that is NSFW marked in a thread channel or forum post, it returns an error message on Discord. The command does not even go through the API to the app.

Steps to Reproduce

  1. Set an Application / Slash Command to NSFW.
  2. Attempt to use it in a thread channel or forum post channel with the text channel or forum channel having the Age-Restricted Channel option toggled on.

Expected Behavior

When using a command in a thread channel or forum post channel, the system should check the channel holding the thread or post for the Age-Restricted Channel status, as threads or posts themselves cannot have this setting toggled.

Current Behavior

It appears the system may be checking the Age-Restricted Channel status of the thread or forum post channel itself, rather than the parent channel, causing this issue.

Screenshots/Videos

Error message shown on Discord: img

Client and System Information

Stable 314046 (408a13e) Host 1.0.9155 x64 (49817) Build Override: N/A Windows 11 64-bit (10.0.22631)

iced-queen avatar Jul 31 '24 12:07 iced-queen

Confirmed, I see this behavior.

DV8FromTheWorld avatar Jul 31 '24 15:07 DV8FromTheWorld

Confirmed, I see this behavior.

Do you happen to have an ETA on when this is fixed? :3

iced-queen avatar Aug 21 '24 15:08 iced-queen