-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description
Here is how things currently work:
ApplicationCommand.nsfw= true,Guild.nsfw= true,Channel.nsfw= true - Command Allowed - ExpectedApplicationCommand.nsfw= true,Guild.nsfw= true,Channel.nsfw= false - Command Restricted - Unexpected !!!ApplicationCommand.nsfw= true,Guild.nsfw= false,Channel.nsfw= true - Command Allowed - ExpectedApplicationCommand.nsfw= true,Guild.nsfw= false,Channel.nsfw= false - Command Restricted - ExpectedApplicationCommand.nsfw= false,Guild.nsfw= true,Channel.nsfw= true - Command Allowed - ExpectedApplicationCommand.nsfw= false,Guild.nsfw= true,Channel.nsfw= false - Command Allowed - ExpectedApplicationCommand.nsfw= false,Guild.nsfw= false,Channel.nsfw= true - Command Allowed - ExpectedApplicationCommand.nsfw= false,Guild.nsfw= false,Channel.nsfw= false - Command Allowed - Expected
I believe the unexpected case to be unintended because the owner configured server level age restriction setting also disables the ability to toggle the age restriction setting for channels and will always show in channel settings as if the channel is age restricted even if Channel.nsfw is actually set to false.
Steps to Reproduce
Create a command with nsfw set to true
Create a channel with nsfw set to false
Change the Age Restricted Server setting in the access tab of server settings to true
Attempt to run the nsfw command in the channel you created
Expected Behavior
The command resolves and can be used
Current Behavior
The command does not appear in the UI, and cannot be executed
Screenshots/Videos
No response
Client and System Information
stable 459631 (e97e9b1) Host 1.0.9212 x64 (70471) Build Override: N/A Windows 10 64-bit (10.0.19045)